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

Remove the unused disallowWritesForResharding() method

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.4, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • Fully Compatible
    • v5.0
    • Sharding 2021-06-28
    • 1

      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

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

              Created:
              Updated:
              Resolved: