Details
-
Bug
-
Resolution: Fixed
-
Critical
-
7.0.3
-
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
For Gerrit Dashboard: MB-54366 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
182235,3 | MB-54366: Fix racing of metakv callbacks for remote clusters | cheshire-cat | goxdcr | Status: MERGED | +2 | +1 |
182348,3 | MB-54366: fix to add missing unlock in error path | cheshire-cat | goxdcr | Status: MERGED | +2 | +1 |