gerrit/gerrit-pgm
Edwin Kempin 916112ed91 AccountIndex: Add fields that allow to detect an account document as stale
To be able to tell whether an account is stale in the index we need to
record a state ID for each source that contributes to the account
document (user branch + external IDs). For the user branch we can record
its ref state (similar to how the change index records ref states / ref
state patterns for all refs that contribute to a change). For the
external IDs branch the ref state is not sufficient because it changes
whenever any external ID is updated and we don't want to detect all
accounts as stale after each external ID update. Hence for the external
IDs we record the IDs of the note blobs instead.

Change-Id: I7f0383cb46e461cc5158bf13f31d608a927bfd49
Signed-off-by: Edwin Kempin <ekempin@google.com>
2017-08-24 16:07:44 +02:00
..
src AccountIndex: Add fields that allow to detect an account document as stale 2017-08-24 16:07:44 +02:00
BUILD Split out build rule for metrics interfaces 2017-08-16 08:20:38 -04:00