Verify canAcceptWritesForDatabase() is called while the caller holds the global lock

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 3.5.4
    • Affects Version/s: None
    • Component/s: Replication
    • Fully Compatible
    • Repl 2017-03-06
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The comment of canAcceptWritesForDatabase says:

      * NOTE: This function can only be meaningfully called while the caller holds the global
      * lock in some mode other than MODE_NONE.
      

      We should pass OperationContext into the function and verify the synchronization rule is satisfied.

              Assignee:
              Matthew Russotto
              Reporter:
              Siyuan Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: