[SERVER-77090] Prevent ChunkMap to be constructed with gaps or overlapping chunks Created: 12/May/23  Updated: 27/Oct/23  Resolved: 25/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Tommaso Tocci
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-71627 Refreshed cached collection route inf... Closed
Assigned Teams:
Sharding EMEA
Sprint: Sharding EMEA 2023-05-29, Sharding EMEA 2023-06-12, Sharding EMEA 2023-07-24, Sharding EMEA 2023-08-07, Sharding EMEA 2023-08-21, Sharding EMEA 2023-09-04
Participants:

 Description   

Currently, the ChunkMap fails construction or the incremental update if the given chunks contain gaps or overlapping chunks.

These inconsistencies are only detected if the involved chunks belong to different shards.

Additionally, overlaps are correctly detected only if they are partial. If one chunk is completely included in the other, no error will be thrown (e.g., [0, 5] and [0, 10])



 Comments   
Comment by Tommaso Tocci [ 25/Aug/23 ]

Done as part of SERVER-71627

Generated at Thu Feb 08 06:34:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.