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

Assert that mongod never refreshes the sharding metadata under a lock

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.4
    • Affects Version/s: None
    • Component/s: 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)

      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.

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

              Created:
              Updated:
              Resolved: