gerrit/gerrit-server
Luca Milanesio df10d85174 Drain executor of index change requests before closing index
When Gerrit needs to exit because of a SIG-HUP, we need to make
sure to drain all pending threads that have outstanding indexing
operations not yet flushed to disk.

This does not have to be confused with the index close which may
happen during on-line reindexing and needs to preserve the current
indexing executor.

This is a rework of I6ec90eb73 and I7bda13058 with an alternative
approach that keeps both index consistency across restarts and on-line
reindexing.

Bug: Issue 5200
Bug: Issue 4618
Change-Id: Id332ec0215de4777fabef6ca310c510ba90c9760
2016-12-30 16:16:58 +00:00
..
src Drain executor of index change requests before closing index 2016-12-30 16:16:58 +00:00
BUCK Merge branch 'stable-2.12' 2016-06-29 11:17:52 +09:00
BUILD Implement Bazel build 2016-06-14 21:12:02 +02:00