CollectionShardingRuntime's state change mutex always refers to the empty string

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.0-rc8, 4.7.0
    • Affects Version/s: 4.4.0-rc6
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Sharding 2020-06-01
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The constructor of CollectionShardingRuntime moves the namespace variable, but then uses it to initialise the state change mutex.

      This means the state change mutex for all collections have the same identifier, which is bad at least for reporting purposes, but also potentially could lead to deadlocks (although it is not a problem currently).

              Assignee:
              Kaloian Manassiev
              Reporter:
              Kaloian Manassiev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: