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

Get rid of CollectionShardingState/Runtime::get_UNSAFE

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 5.2.0
    • None
    • Sharding
    • Fully Compatible
    • Sharding EMEA 2021-10-18

    Description

      The CollectionShardingState/Runtime::get_UNSAFE calls seem to have been added just for a single unit-test and they seem very tempting for someone to find a creative use. We should throw them out and instead just acquire lock in the unit-test.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: