Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-55322

Integrate CancelableOperationContext into ReshardingOplogFetcher

    • Fully Compatible
    • Sharding 2021-04-19
    • 1

      Note that the OperationContext constructed within the callback given to Shard::runAggregation() cannot use the shared_ptr<executor::TaskExecutor> given to ReshardingOplogFetcher::schedule() for the CancelableOperationContext. This is because all of its threads may already be consumed waiting for the Shard::runAggregation() task being run on the fixed executor to finish. See also the CancelableOperationContextFactory class mentioned in SERVER-55306.

            Assignee:
            janna.golden@mongodb.com Janna Golden
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: