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

Assert that mongod never refreshes the sharding metadata under a lock

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.3.4
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 8 08/28/15, Sharding F (01/29/16), Sharding 10 (02/19/16), Sharding 11 (03/11/16), Sharding 12 (04/01/16)

    Description

      This ticket is to add invariants in the places where we refresh sharding metadata, in order to ensure we never do that under a lock. Holding a lock during network operations is undesirable, because it may delay step down, which needs a global X lock.

      Attachments

        Activity

          People

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: