778fed6f9e
If NoteDb is enabled adding a reviewer sometimes fails because inserting a dummy approval for this user in ReviewDb fails due to a duplicate key exception. This means there is an inconsistency between ReviewDb and NoteDb, the user is not found as existing reviewer when reading from NoteDb, but according to ReviewDb the user is a reviewer (dummy approval exists). Handle this situation gracefully by overwriting the existing dummy approval in this case. Change-Id: Iea29f869662f593eb6c35424ce30378fa82e1f02 Signed-off-by: Edwin Kempin <ekempin@google.com> |
||
---|---|---|
.. | ||
src/test/java/com/google/gerrit/acceptance | ||
BUCK | ||
BUILD | ||
tests.bzl | ||
tests.defs |