[SERVER-44437] remove DBDirectClient reference from ShardLocal::createIndexOnConfig Created: 05/Nov/19 Updated: 29/Oct/23 Resolved: 06/Nov/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Benety Goh | Assignee: | Benety Goh |
| 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: | Execution Team 2019-11-18 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
ShardLocal::createIndexOnConfig is called during primary step up as part of the config database initialization. Assuming that the config collection is always empty when this function is called, we should be able to replace this reference to DBDirectClient() with one of the new index creation helpers introduced in |
| Comments |
| Comment by Githook User [ 06/Nov/19 ] |
|
Author: {'name': 'Benety Goh', 'username': 'benety', 'email': 'benety@mongodb.com'}Message: |
| Comment by Githook User [ 06/Nov/19 ] |
|
Author: {'name': 'Benety Goh', 'username': 'benety', 'email': 'benety@mongodb.com'}Message: |