[SERVER-60612] extract collMod implementation for modifying an existing index Created: 12/Oct/21 Updated: 29/Oct/23 Resolved: 14/Oct/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0 |
| 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 2021-10-18 | ||||
| Participants: | |||||
| Linked BF Score: | 15 | ||||
| Description |
|
The collMod command has been steadily extended in recent years to include more ways to modify an existing index. Both the collection-level functionality and the index-specific code are currently contained in catalog/coll_mod.cpp. It would be nice to extract the index modification logic into its own implementation file. |
| Comments |
| Comment by Githook User [ 14/Oct/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: In earlier revisions, _processCollModInternal() needed to update the |
| Comment by Githook User [ 14/Oct/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: This used to be important in the collMod implementation when we had to access |
| Comment by Githook User [ 14/Oct/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Githook User [ 14/Oct/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Githook User [ 14/Oct/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: This extracts the logic for processing {collMod: 'coll', index: {}} |