Remove usage of CancelableOperationContext when cleaning up internal sessions in setFCV

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc9, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v6.0, v5.0
    • Sharding NYC 2022-05-30
    • 128
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently the usage of CancelableOperationContexts lead to unspecific errors being thrown when these opCtxes are interrupted. There is a narrow window in setFCV we use a CancelableOperationContext to do internal session cleanup where interruptions would result in a nonretryable error being thrown. This causes internal_sessions_setfcv_wait_for_transaction_coordinator_cleanup.js to be a bit flaky since it relies on the retryablility of the setFCV on stepdown.

            Assignee:
            Jason Zhang (Inactive)
            Reporter:
            Jason Zhang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: