gerrit/gerrit-lucene
Dave Borowitz a9c6832afd Add test for online index schema migration
Requires some refactoring of AbstractVersionManager and OnlineReindexer
to allow the test to provide a listener that is injected into Daemon.
Use a simple OnlineUpgradeListener interface, which may end up being
useful for things other than tests.

In addition, factor out a separate LifecycleListener for starting the
online upgrade process. This is not immediately necessary, but will be
used in the near future for the NoteDb migration to hook into. In fact,
this change started life as this minor refactoring, at which point I
realized we probably need tests to make sure I don't break it.

Change-Id: Ifcbcac689cf14137784a250f025df149c90f22ef
2017-06-28 11:08:52 -04:00
..
src/main/java/com/google/gerrit/lucene Add test for online index schema migration 2017-06-28 11:08:52 -04:00
BUILD Bazel: Reformat build files 2016-12-07 11:33:07 +00:00