Consider passing in cancelationToken in GlobalIndexInserter::processDoc

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            [DO NOT USE] Backlog - Cluster Scalability
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: