[SERVER-60931] avoid namespace lookup when applying collMod command Created: 22/Oct/21 Updated: 29/Oct/23 Resolved: 27/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 | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Execution Team 2021-11-01 |
| Participants: |
| Description |
|
The oplog applier looks up the collection namespace by UUID before passing on the collMod request to the execution layer. This is no longer necessary with our new RAII helpers that accept both namespaces and UUIDs. |
| Comments |
| Comment by Githook User [ 27/Oct/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Githook User [ 26/Oct/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Githook User [ 26/Oct/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Benety Goh [ 26/Oct/21 ] |
|
One secondary goal of this ticket is to make the IDL generated type for the CollMod command available to the collMod implementation so that we can eventually deprecate the CollModRequest struct. |