Make cluster split check idempotent

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2024-11-25, CAR Team 2024-12-09
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When something fails and a caller retries, it can throw an error, when the chunk was splited:

      errmsg: new split key { x: 10.0 } is a boundary key of existing chunk [{ x: 10.0 },{ x: MaxKey })
      

      There was the issue https://jira.mongodb.org/browse/SERVER-51805 to make these calls idempotent, but was closed with "Won't fixed"

      The proposal is at least to change the check of range boundaries during the splitting, that it does return false in case when the splitting already done.

              Assignee:
              Igor Praznik
              Reporter:
              Igor Praznik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: