gerrit/Documentation/cmd-index-activate.txt
David Pursehouse d29e0194d6 Merge branch 'stable-2.12'
* stable-2.12:
  Fix missing query results when label=0 and related relational operators
  OutputStreamQuery: Only return current patch set when visible to user
  Fix NPE in SubmitRuleEvaluator
  Protect the TrackingFooters.extract from null input parameter
  Fix index-activate and index-start documentation
  Reapply: Revert "Use changeRefsById to track existing revisions"

Change-Id: I9f8e82f38c2ec4cf273a6a29c7dc634d8c28b6c1
2016-04-27 22:19:40 +09:00

36 lines
970 B
Plaintext

= gerrit index activate
== NAME
gerrit index activate - Activate the latest index version available
== SYNOPSIS
--
'ssh' -p <port> <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
---------