[SERVER-72892] Use sendCommandToShards helper in checkMetadataConsistency command Created: 17/Jan/23 Updated: 29/Oct/23 Resolved: 23/Jan/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Tommaso Tocci | Assignee: | Pol Pinol |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Sharding EMEA 2023-01-23 | ||||||||
| Participants: | |||||||||
| Description |
|
In shardsvr_check_metadata_consistency_command.cpp is building a std::vector<AsyncRequestsSender::Request> in order to send the internal command checkMetadataConsistencyParticipantRequest to all shards. We should use the helper method sendCommandToShards from sharding_util.h, in order to not have repeated code and abstract code. |
| Comments |
| Comment by Githook User [ 23/Jan/23 ] |
|
Author: {'name': 'Pol Pinol Castuera', 'email': 'pol.pinol@mongodb.com', 'username': 'PolPinol'}Message: |