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

Clear the Collection Sharding State map during the setFCV command

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc11
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • v6.0
    • Sharding EMEA 2022-05-30, Sharding EMEA 2022-06-13, Sharding EMEA 2022-06-27
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The goal of this task is to clear the Collection Sharding State map (i.e. all collections) during the setFCV upgrade to 6.0.

      The reason to do that is to define a barrier from which all shards must know what they own at all moment. We can do this because since 5.3 we introduced a new migration protocol that guarantees that both donor and recipient update their filtering information as part of the commit phase. Before that, we had a weaker guarantee: the donor for sure knew about the migration but for the recipient we just triggered a best-effort refresh.

      This change should land on 6.0.

            Assignee:
            sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
            Reporter:
            sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None