[SERVER-69812] Consider passing in cancelationToken in GlobalIndexInserter::processDoc Created: 19/Sep/22 Updated: 17/Nov/23 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | Randolph Tan | Assignee: | Backlog - Cluster Scalability |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Cluster Scalability
|
| Participants: |
| Description |
|
The method currently creates a new operation context (https://github.com/mongodb/mongo/blob/279ee64be148ce7bbba7a6414adca53e08dc72df/src/mongo/db/s/global_index/global_index_inserter.cpp#L84) that is not attached to the cancellation tokens used by the global index cloning service. The operation context is currently only used for waiting on a test-only failpoint. |