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

Remove the unused disallowWritesForResharding() method

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.4, 5.1.0-rc0
    • None
    • Sharding
    • Fully Compatible
    • v5.0
    • Sharding 2021-06-28
    • 1

    Description

      Preventing writes on the collection being resharding while the recipients finish catching up was done with the CollectionShardingRuntime's critical section instead.

      https://github.com/mongodb/mongo/blob/792dcddddf6bfedc45208dbc1c513d2dea27546f/src/mongo/db/s/collection_metadata.h#L91

      Attachments

        Activity

          People

            luis.osta@mongodb.com Luis Osta (Inactive)
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: