Details
-
Bug
-
Resolution: Fixed
-
Major
-
6.5.0
-
None
-
Untriaged
-
Unknown
-
KV-Engine MH 2nd Beta
Description
If a replica receives an abort but did not receive the matching prepare due to deduplication, it currently does nothing (kv_engine/engines/ep/src/vbucket.cc:898).
Consider a replica A which received only the abort, and a second replica B which has, so far, only received the prepare. If the active fails and A is promoted, it should be able to send the abort it received to the B. As we discarded the abort on A, replica B will have a prepare but might never receive an associated abort.