Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Moving JGit to foundation Gerrit server

2011/11/22 Shawn Pearce <spearce@xxxxxxxxxxx>
On Tue, Nov 22, 2011 at 13:58, Matthias Sohn
<matthias.sohn@xxxxxxxxxxxxxx> wrote:
> 2011/11/22 Shawn Pearce <spearce@xxxxxxxxxxx>
>>
>> In [1] I asked Denny to consider taking the JGit project as the first
>> customer of the foundation's Gerrit server. We don't really have that
>> many patches in progress, so I think it would be OK for JGit to switch
>> over to the foundation provided server and help them start testing
>> that installation with real-world users who know how Gerrit works.
>> :-)
>>
>> I also suggested EGit wait to move, as there are a lot more pending
>> patches for EGit, and the activity there is higher.
>>
>>
>> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=283749
>
> sounds good to me, I hope we can transfer the review history to the
> new server...

We would have to ask Denis about that, its non-trivial to move review
history between servers. This isn't something I would look forward to
doing. The biggest problem is the change sequence counter and the
account identity counter. We may have to either ask Denis to wipe his
database and import ours as-is, or we would have to ask Denis to
reserve a swatch of ids for our data, and do data transforms to change
our ids to a unique space in his database.

yeah, we went through this recently when we tested migration of our
internal Gerrit server to another server running on MAXDB instead of
Postgres. For piloting we only moved a few projects before we dare
to move all the others.

Maybe it would then be a better idea to move all repositories from the old
server in one go and trade a slightly higher risk of facing a few problems
with the new server for being able to keep the review history. I would 
really like to keep this history as a lot of work went into all these discussions.

Would we need exact version match between the two servers (the current
server is running a newer Gerrit version) ?

--
Matthias

Back to the top