[SERVER-33030] amend commands for local snapshot in cluster command helpers Created: 30/Jan/18 Updated: 06/Dec/22 Resolved: 08/Mar/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Misha Tyulenev | Assignee: | [DO NOT USE] Backlog - Sharding Team |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Sharding
|
||||||||
| Participants: | |||||||||
| Description |
|
Original Ticket: In build(Un)versionedRequestsFor(All)TargetedShards that are used in explains count and distinct Summary: Given a BSON command object with readConcern level snapshot, replace its snapshot readConcern with a new snapshot readConcern with atClusterTime. Since the cmd obj already has a readConcern field, the object will be iterated over, copying all of its fields that are not readConcern, then the new readConcern will be appended at the end. Details:
Open Questions:
Unit tests:
POC: https://mongodbcr.appspot.com/178800002/ |
| Comments |
| Comment by Misha Tyulenev [ 02/Feb/18 ] |
|
jack.mulrow please take a look |