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

Make cluster split check idempotent

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Igor Praznik
            Reporter:
            igor.praznik@mongodb.com Igor Praznik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: