[SERVER-74246] Extend metadata_consistency_util_test.cpp to test randomly generated routing tables for chunks inconsistencies Created: 22/Feb/23  Updated: 29/Mar/23  Resolved: 29/Mar/23

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

Type: Task Priority: Major - P3
Reporter: Pol Pinol Assignee: [DO NOT USE] Backlog - Sharding EMEA
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-74083 Implement chunk checks in checkConsis... Closed
Gantt Dependency
has to be done after SERVER-74083 Implement chunk checks in checkConsis... Closed
has to be done after SERVER-74084 Implement zones checks in checkConsis... Closed
Assigned Teams:
Sharding EMEA
Sprint: Sharding EMEA 2023-03-06
Participants:

 Description   

As part of the work done in SERVER-74083, unit tests are introduced to check the correct behaviour in detecting chunks inconsistencies. These unit tests are coded assuming a static routing table and ranges.

The goal of this ticket is to extend metadata_consistency_util_test.cpp unit tests to generate a random routing table, being able to detect chunks inconsistencies randomly generated.

Examples / ideas of random inconsistencies:

  • Remove N random number of chunks
  • Add tags with random ranges
  • Update the minKey of a chunk to generate overlap or a gap

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