[SERVER-69221] Support awaiting replication asynchronously with a cancellation token Created: 28/Aug/22 Updated: 05/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Matt Broadstone | Assignee: | Backlog - Replication Team |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | former-quick-wins | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Replication
|
||||||||
| Participants: | |||||||||
| Description |
|
awaitReplicationAsyncNoWTimeout let's us wait asynchronously for some opTime, but does not currently support cancellation tokens. |
| Comments |
| Comment by Matt Broadstone [ 29/Aug/22 ] |
|
Hey samy.lanka@mongodb.com, we have existing code which executes synchronously in a continuation using awaitReplication and a cancellable opCtx, so there's no urgency for this change for us now. |