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

Add concurrency protection to MetadataManager

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.10
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 16 (06/24/16), Sharding 17 (07/15/16)

      Add a private mutex to the MetadataManager class, and lock it at the start of functions.

      Please add an invariant to the MetadataManager destructor that _activeMetadata is either unset or its usageCounter is zero.

            Assignee:
            leon.zaruvinsky Leon Zaruvinsky
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: