Remove the unused disallowWritesForResharding() method

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
              Reporter:
              Max Hirschhorn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: