Check the state after acquiring the lock in bgsync

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.4.5, 3.5.7
    • Affects Version/s: None
    • Component/s: Replication
    • Fully Compatible
    • ALL
    • v3.4
    • Repl 2017-05-08
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In bgsync, due to shutdown, we need to check the state after locking whenever it's going to change any state that the destruct won't clean up. This includes the construction of _syncSourceResolver, _oplogFetcher and _rollback.

              Assignee:
              Siyuan Zhou
              Reporter:
              Siyuan Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: