[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:
Depends
depends on SERVER-62805 Add local storage on shards for the s... Closed
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.


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