| Issue 2512: | Improper shutdown results in outdated secondary index. | |
| 1 person starred this issue and may be notified of changes. | Back to list |
************************************************************ ***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW ***** ***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL ***** ***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC. ***** ***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS! ***** ************************************************************ Affected Version: 2.8.1 What steps will reproduce the problem? 1. Enable Lucene secondary indexing. 2. Run Gerrit for a period of time (new pushes, review comments, etc.) 3. kill -9 the Gerrit process. What is the expected output? What do you see instead? When Gerrit is restarted, the database is outdated and views such as 'status:open' only contain entries created prior to the last graceful shutdown. If we leave the server running for a week and then it is killed, we end up with a week worth of reviews seemingly disappearing until we run a reindex. I can understand losing a change in progress at the time of a kill, but it seems like there should be a more frequent synchronization of the secondary index database.
Mar 11, 2014
(No comment was entered for this change.)
Status:
Released
|
|
| ► Sign in to add a comment |
Labels: FixedIn-2.8.2