[SERVER-67593] Use DBDirectClient instead of the IndexBuildCoordinator to create indexes Created: 28/Jun/22 Updated: 26/Oct/23 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Marcos José Grillo Ramirez | Assignee: | Backlog - Catalog and Routing |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | oldshardingemea, shardingemea-qw | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Catalog and Routing
|
||||||||
| Participants: | |||||||||
| Story Points: | 2 | ||||||||
| Description |
|
After SERVER-62805 the create indexes helper we use to create indexes in config collections was moved to sharding_util.cpp. It previously used a somehow manual implementation of createIndex. We could make this code easier to read if we use DBDirectClient. Investigate if we can actually use DBDirectClient in the context's where the indexes are being created, if so, change the implementation to use DBDirectClient. |