[PATCH] Make LNT compatible with PostgreSQL

Tobias Grosser tobias at grosser.es
Mon Jul 28 14:19:52 PDT 2014


On 28/07/2014 19:45, Yi Kong wrote:
> On 28 Jul 2014 18:32, "Chris Matthews" <chris.matthews at apple.com> wrote:
>>
>> I *think* the server generates a server side plist with all the data to
> be imported and saves it in a temp dir during each submission.
>>
>> This might be a way to recollect the data?
>
> The server is not stable yet, we will lose a lot of data. Also, not all the
> builders submit results to LNT.

I don't understand this? Are you saying the LNT server is not yet 
stable? I am confused.

>>> On Jul 28, 2014, at 10:27 AM, Tobias Grosser <tobias at grosser.es> wrote:
>>>
>>> On 28/07/2014 19:24, Yi Kong wrote:
>>>> On 28 July 2014 17:04, Tobias Grosser <tobias at grosser.es> wrote:
>>>>> Perfect. Please feel free to switch the public server at any point.
> The old
>>>>> one was not reliable at all, such that a lot of data is missing and
> the one
>>>>> we have is less valuable. Making it stable again would be a large step
>>>>> forward.
>>>>>
>>>>> If we could keep the old data accessible that would be amazing. Or
> even
>>>>> better, is it hard to allow people to download the original .json
> files (or
>>>>> regenerate them from the db)? Like this we could just download them
> one by
>>>>> one and reimport in case this is desired.
>>>>
>>>> I think buildbot already offers this functionality? I've been
>>>> downloading JSON originals from it for a while.
>>>
>>> Right. The issue is that buildbot deletes them after a while.
>
> Then we should change to keep them forever(or longer)?

We could, but it does not really feel right. If people want the raw data 
for a certain run they saw in LNT, I think LNT is the place where they 
would like to export it. Also, as LNT has the full database it seems to 
make sense to provide an export facility.

As I said, I am not too concerned about it now. Just wanted to mention 
it. As long as you keep a copy of the old sqlite database around, I am 
fine with switching the server and just starting with an empty histroy.

Tobias




More information about the llvm-commits mailing list