Add Mutex Protection to replicationStateTransitionInterruptionCtx

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Replication
    • Fully Compatible
    • ALL
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The activeStateTransition() call in the if condition acquires a mutex, but it is released before the interruptionCtx is actually returned, leading to this data race. We should explicitly acquire the mutex and check the condition rather than calling into the other helper.

            Assignee:
            Ruchitha Rajaghatta
            Reporter:
            Ruchitha Rajaghatta
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: