Assert that mongod never refreshes the sharding metadata under a lock

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: 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)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Kaloian Manassiev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: