
The original change Id6c58a595 wasn't ready and broke master.
The revert was I5d56a163; this reverts the revert.
Due to a mistake in a condition in LuceneVersionManager#start()
method writer index was never initialized and thus reindexing
of changes was broken. All tests were still passing because the
tests are using SingleVersionModule and not MultiVersionModule.
This reverts commit 6247b52f41
.
Change-Id: I5856d3ca2ae6d9549b00aa575abd074ea1ff0bd9
36 lines
978 B
Plaintext
36 lines
978 B
Plaintext
= gerrit index activate
|
|
|
|
== NAME
|
|
gerrit index activate - Activate the latest index version available
|
|
|
|
== SYNOPSIS
|
|
--
|
|
'ssh' -p @SSH_PORT@ @SSH_HOST@ 'gerrit index activate <index>'
|
|
--
|
|
|
|
== DESCRIPTION
|
|
Gerrit supports online index schema upgrades. When starting Gerrit for the first
|
|
time after an upgrade that requires an index schema upgrade, the online indexer
|
|
will be started. If the schema upgrade is a success, the new index will be
|
|
activated and if it fails, a statement in the logs will be printed with the
|
|
number of successfully/failed indexed changes.
|
|
|
|
This command allows to activate the latest index even if there were some
|
|
failures.
|
|
|
|
The <index> argument controls which secondary index is activated. Currently, the
|
|
only supported value is "changes".
|
|
|
|
== ACCESS
|
|
Caller must be a member of the privileged 'Administrators' group.
|
|
|
|
== SCRIPTING
|
|
This command is intended to be used in scripts.
|
|
|
|
GERRIT
|
|
------
|
|
Part of link:index.html[Gerrit Code Review]
|
|
|
|
SEARCHBOX
|
|
---------
|