Move groups sequence to NoteDB
This mirrors commit 5be9c31 ("Move account sequence to NoteDb"), with
the following differences:
* The group IDs go into refs/sequences/groups
* SchemaCreator creates groups, so there, we manually instantiate
Sequences.
* Since group creation is rare, there is no tuning for batch size.
This is the first step in the procedure to move the group IDs to
NoteDb. The next steps are:
* Ensure that this code is stable and rolled out
* Run the schema upgrade
* Flip the readSequenceFromNoteDb flag
* Ensure that code is stable
* Delete readSequenceFromNoteDb flag, and associated dead code.
Change-Id: I3c8f8c0e86de93184b3ea5e801d0f2b25121a10d
diff --git a/Documentation/config-gerrit.txt b/Documentation/config-gerrit.txt
index dd5ced6..84770c9 100644
--- a/Documentation/config-gerrit.txt
+++ b/Documentation/config-gerrit.txt
@@ -3396,6 +3396,18 @@
Defaults to 20 seconds; unit suffixes are supported, and assumes milliseconds if
not specified.
+[[noteDb.groups.readSequenceFromNoteDb]]noteDb.groups.readSequenceFromNoteDb::
++
+Whether the group sequence should be read from NoteDb.
++
+Once set to `true` this parameter cannot be set back to `false` because
+the group sequence in ReviewDb will no longer be updated when group
+IDs are retrieved from NoteDb, and hence the group sequence in
+ReviewDb will be outdated.
++
+By default `false`.
+
+
[[oauth]]
=== Section oauth