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

Change removeKeyRangeFromZone to use the bounds found from the fully extended shard key.

    • Fully Compatible
    • Sharding 2019-12-16

      When adding a range to a zone, we extend the shard key to include all fields then use that range in the update query.

      When removing a range from a zone, we extend the shard key but don't use the extended shard key in the remove query.

      We should use the full range in removing a range from a zone in order to make behavior consistent across these two operations.

      With the completion of the ticket, we should also remove the RangeOverlapConflict retry logic on the test that will be committed in SERVER-44062.

            Assignee:
            haley.connelly@mongodb.com Haley Connelly
            Reporter:
            blake.oler@mongodb.com Blake Oler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: