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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.4.0-rc8, 4.7.0
    • 4.4.0-rc6
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Sharding 2020-06-01

    Description

      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).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: