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

Ensure transactions not holding RSTL are killed on step up / step down

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Operating System:
      ALL

      Description

      In SERVER-50486, we discovered a race where a primary may step down, attempt to call invokeWithSessionCheckedOut in a user thread, and eventually hit a MONGO_UNREACHABLE invariant due to a race.

      SERVER-50486 addressed this by setting the setAlwaysInterruptAtStepDownOrUp flag on the opCtx . It seems like this issue is still occurring, we should investigate more into why a user thread was not killed upon step down.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-repl Backlog - Replication Team
              Reporter:
              xuerui.fa Xuerui Fa
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: