[SERVER-80135] Allow ShardCollection to work correctly when an unsharded collection is not located on the DBPrimary Created: 16/Aug/23 Updated: 06/Feb/24 |
|
| Status: | In Progress |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Allison Easton | Assignee: | Allison Easton |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | oldshardingemea | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Assigned Teams: |
Catalog and Routing
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Sprint: | CAR Team 2023-11-27, CAR Team 2023-12-11, CAR Team 2023-12-25, CAR Team 2024-01-08, CAR Team 2024-01-22, CAR Team 2024-02-05, CAR Team 2024-02-19 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Linked BF Score: | 150 | ||||||||||||||||||||||||
| Description |
|
Currently, the shard collection command does a local write on the db primary to determine if the collection is empty. If the collection data is located on a shard other than the dbprimary, this read should be routed to the correct shard. This ticket should also include testing the command for collections that are not located on the db primary and addressing any other issues with the coordinator. |
| Comments |
| Comment by Githook User [ 26/Jan/24 ] |
|
Author: {'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}Message: Revert "SERVER-80135 Allow ShardCollection to work correctly when an unsharded collection is not located on the DBPrimary (#18133)" This reverts commit ff5851579e18a47fb51084389b545e65cdc23b53. GitOrigin-RevId: 4df3d9480b56dd307298778e033aa2866a83c240 |
| Comment by Githook User [ 23/Jan/24 ] |
|
Author: {'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}Message: SERVER-80135 Allow ShardCollection to work correctly when an unsharded collection is not located on the DBPrimary (#18133) GitOrigin-RevId: ff5851579e18a47fb51084389b545e65cdc23b53 |