Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-27914

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.5.4
    • None
    • Replication
    • Fully Compatible
    • Repl 2017-03-06

    Description

      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.

      Attachments

        Activity

          People

            matthew.russotto@mongodb.com Matthew Russotto
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: