Document accounts in NoteDb

Add a documentation page that explains how accounts are stored in
NoteDb. This should enable administrators to make manual modifications
to the account data.

This documentation page also gives some background information about why
the account data is persisted in the way it is.

Change-Id: I378cc296947d9e5c9b84ac9ba3e63459bf01d192
Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
Edwin Kempin
2017-07-28 15:10:24 +02:00
parent ed7c347ddb
commit 311d570d27
5 changed files with 418 additions and 5 deletions

View File

@@ -3326,8 +3326,8 @@ see the link:note-db.html[documentation].
[[notedb.accounts.sequenceBatchSize]]notedb.accounts.sequenceBatchSize::
+
The current account sequence number is stored as UTF-8 text in a blob
pointed to by the `refs/sequences/accounts` ref in the `All-Users`
The next available account sequence number is stored as UTF-8 text in a
blob pointed to by the `refs/sequences/accounts` ref in the `All-Users`
repository. Multiple processes share the same sequence by incrementing
the counter using normal git ref updates. To amortize the cost of these
ref updates, processes increment the counter by a larger number and