My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2512: Improper shutdown results in outdated secondary index.
1 person starred this issue and may be notified of changes. Back to list
Status:  Released
Owner:  ----
Closed:  Mar 2014


Sign in to add a comment
 
Reported by williams...@gmail.com, Mar 2, 2014
************************************************************
***** 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 4, 2014
Project Member #1 david.pu...@sonymobile.com
This is fixed and will be in 2.8.2

https://gerrit-review.googlesource.com/#/c/54610/

Status: Submitted
Labels: FixedIn-2.8.2
Mar 11, 2014
Project Member #2 david.pu...@sonymobile.com
(No comment was entered for this change.)
Status: Released
Sign in to add a comment

Powered by Google Project Hosting