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

Remove usage of CancelableOperationContext when cleaning up internal sessions in setFCV

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Jason Zhang (Inactive)
            Reporter:
            jason.zhang@mongodb.com Jason Zhang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: