Extend HierarchicalCancelableOperationContextFactory to allow modifying the opCtx

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2026-03-30
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In SERVER-121287, we ended up providing the ability to mark an opCtx as cancelable after creation. This is because it is hard to wrap the factory's makeOperationContext function with extra logic due to the lack of ability to move or copy the CancelableOperationContext. Rather than this workflow, though, we should provide a more general way for the factory to handle this type of workflow.

            Assignee:
            Allison Easton
            Reporter:
            Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: