da17bc33c2
At the moment the reviewed flags are stored in ReviewDb, but to fully migrate to NoteDb they must be moved to a different storage. Different options how to implement this storage were discussed on the Gerrit mailing list [1,2]. Standalone Gerrit servers can benefit from a simple storage in a local H2 database, while multi-master installations must care to replicate this data between the master nodes. To support both cases well this extension point makes the store implementation pluggable. Gerrit itself implements the extension point, but plugins can replace this implementation. For now the implementation of this extension point in Gerrit just wraps the access to the ReviewDb, but in a follow-up change another storage and a data migration will be implemented. [1] https://groups.google.com/forum/#!msg/repo-discuss/KhXKMKTJNMs/Tq3XaB8wCgAJ [2] https://groups.google.com/d/msg/repo-discuss/KhXKMKTJNMs/hHoCa1_5CwAJ Change-Id: Iaaacd9f0af977ccd505b5ad541f4a616afa214a4 Signed-off-by: Edwin Kempin <ekempin@google.com> |
||
---|---|---|
.. | ||
src | ||
BUCK |