[SERVER-73703] Group cluster metadata consistency check command by primary shard Created: 07/Feb/23 Updated: 27/Oct/23 Resolved: 09/Mar/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: | [DO NOT USE] Backlog - Sharding EMEA |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Sharding EMEA
|
||||||||
| Participants: | |||||||||
| Description |
|
At the moment mongos sends a shardsvr request to each primary shard of each existing databse. To reduce the fan out degree of this command and increase efficiency mongos should send only one command to each primary shard that will in turn fetch the list of its databases from config server and check metadata consistency for each of them. |
| Comments |
| Comment by Tommaso Tocci [ 09/Mar/23 ] |
|
This work has been done as part of |