Check the cluster cardinality parameter before tracking and moving a collection

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Critical - P2
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2024-04-01, CAR Team 2024-04-15
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      We are relying on the direct shard connection checks to prevent data loss due to direct connections when moving unsharded collections. However, this parameter is not set atomically with adding a second shard. In order to guarantee that there are no more direct shard operations happening when a collection is moved, we should check the cluster cardinality parameter in the moveCollection command before tracking the collection.

            Assignee:
            Allison Easton
            Reporter:
            Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: