[SERVER-71690] Implement a new sharding hook to verify the sharding filtering metadata Created: 30/Nov/22 Updated: 29/Oct/23 Resolved: 18/Jan/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Sergi Mateo Bellido | Assignee: | Jordi Serra Torrens |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | shardingemea-qw | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Sharding EMEA
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Sharding EMEA 2022-12-26, Sharding EMEA 2023-01-09, Sharding EMEA 2023-01-23 | ||||||||
| Participants: | |||||||||
| Story Points: | 3 | ||||||||
| Description |
|
This check was initially part of PM-2030 but we discarded the idea because we could get some false positives reports due to the low guarantees of refineShardKey operation. The goal of this task is to implement a new sharding hook that it is run at the end of the sharding test and that verifies that what the config server authoritative believes shards own is exactly what shards believe they own. In other words, assuming that we have placement stability (no more operations ongoing (not even moveChunks)), we should verify that the different shard versions that are persisted on config.collections and config.chunks match whatever we have locally in each CollectionShardingRuntime of each shard. The getShardVersion command exposes the information on the CSR. We should have a way to disable it. |
| Comments |
| Comment by Githook User [ 18/Jan/23 ] |
|
Author: {'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}Message: |
| Comment by Githook User [ 18/Jan/23 ] |
|
Author: {'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}Message: |