Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.1.2
-
Untriaged
-
1
-
Unknown
Description
Multiple callbacks are allowed to run for metakv listener. These normally run fine as these do not take much time. But in-case the callbacks take time (e.g due to long DNS look-up time) then the order in which changes happen in metakv are applied out-of-order.
This is because the a spawned callback gets stalled and in the meantime, the metakv gets modified. This stalled callback overrides with values.
All this gets manifested with error:
Error writing to metakv: revision number does not match |
Attachments
Issue Links
- is a backport of
-
MB-52156 XDCR - Metakv callbacks racing when remote cluster ref is added/changed
- Resolved
For Gerrit Dashboard: MB-54431 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
182470,2 | MB-54431: Fix racing of metakv callbacks for remote clusters | neo | goxdcr | Status: MERGED | +2 | +1 |
182471,3 | MB-54431: fix to add missing unlock in error path | neo | goxdcr | Status: MERGED | +2 | +1 |