Hi,
We are in process of working towards - 'Multi-Master' setup within our org. Hence to begin that we have planned to upgrade our Gerrit instance currently at 2.16.12 to 3.3.2. We are still in reviewDB at 2.16.12 and not yet migrated to NoteDb.
Our gerrit instance is a complex instance with more than 5K projects summing up to 1TB storage and around 6-7k active users. I went through Luca's upgrade video here -
https://www.youtube.com/watch?v=uAUw1hHiVC4. But unfortunately we are still not yet in multi-master setup to follow the approach described in the video.
I am planning to upgrade from 2.16.12 -> 2.16.27 to gain NoteDb improvements and perform NoteDb migration and when it is complete then upgrade to 3.0.0-> 3.1.15-> 3.2.11->3.3.2 at one go.
My doubts are:
- After upgrading to 2.16.27, I would like to start an online NoteDb migration by modifying notedb.config and setting - "autoMigrate = True". So once this migration is complete, will gerrit automagically set the other fields - 'primaryStorage = note db' and 'disableReviewDb = true' accordingly or do we need to set this manually?
- Ang regarding reindexing, should I run online reindex for every version upgrade? or can I run just one reindex after final upgrade to 3.3.2? We cannot afford offline redinex, since we have more than 1M changes and it took more than 6 hrs in our staging env.