[SERVER-45885] Extend ReplicationCoordinator::canAcceptWritesFor(ns) to accept collection UUIDs Created: 30/Jan/20 Updated: 29/Oct/23 Resolved: 15/Feb/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.4 |
| Type: | Task | Priority: | Minor - P4 |
| 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 2020-02-10, Execution Team 2020-02-24 | ||||||||
| Participants: | |||||||||
| Description |
|
In keeping with the general trend towards using UUIDs over NamespaceStrings to identify collections, it would be convenient for the ReplicationCoordinator::canAcceptWritesFor() to accept collection UUIDs. This will eliminate some existing CollectionCatalog lookups and reduce some code clutter for the caller. |
| Comments |
| Comment by Githook User [ 15/Feb/20 ] |
|
Author: {'name': 'Benety Goh', 'username': 'benety', 'email': 'benety@mongodb.com'}Message: This information can be derived from ReplIndexBuildState. |
| Comment by Githook User [ 15/Feb/20 ] |
|
Author: {'username': 'benety', 'name': 'Benety Goh', 'email': 'benety@mongodb.com'}Message: |
| Comment by Githook User [ 14/Feb/20 ] |
|
Author: {'name': 'Benety Goh', 'username': 'benety', 'email': 'benety@mongodb.com'}Message: |
| Comment by Githook User [ 14/Feb/20 ] |
|
Author: {'name': 'Benety Goh', 'username': 'benety', 'email': 'benety@mongodb.com'}Message: |
| Comment by Githook User [ 14/Feb/20 ] |
|
Author: {'username': 'benety', 'name': 'Benety Goh', 'email': 'benety@mongodb.com'}Message: Interface change only - invariants if UUID is provided. |
| Comment by Githook User [ 14/Feb/20 ] |
|
Author: {'username': 'benety', 'name': 'Benety Goh', 'email': 'benety@mongodb.com'}Message: |