Prevent readers from reading garbage/stale value from global_lock_acquisition_tracker.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.11
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2019-04-08
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, when we modify GlobalLockAcquisitionTracker:_globalLockMode, there is a possibility that the step down thread is reading its value concurrently. In order to avoid the step down thread from reading a garbage/stale value, make GlobalLockAcquisitionTracker:_globalLockMode as an AtomicWord<unsigned char>.

              Assignee:
              A. Jesse Jiryu Davis
              Reporter:
              Suganthi Mani
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: