[SERVER-65035] Implement jstests hook checking chunks consistency Created: 29/Mar/22  Updated: 29/Oct/23  Resolved: 19/Apr/22

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

Type: Task Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Paolo Polato
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-69491 Run CheckRoutingTableConsistency hook... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-04-18, Sharding EMEA 2022-05-02
Participants:

 Description   

Since chunk operations are always expected to leave the sharded catalog in a consistent state, implement a hook executing after each sharding jstests (like these) checking that for each sharded collection:

  • Chunks are covering the whole shard key space
  • There are no duplicate or overlapping chunks


 Comments   
Comment by Githook User [ 19/Apr/22 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-65035 Create new JS hook to check routing table consistency
Branch: master
https://github.com/mongodb/mongo/commit/1e12dbb633aea118f9922bdc6d0950eba3a0ba95

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