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

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

    • Type: Icon: Bug Bug
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • ALL

      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.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            xuerui.fa@mongodb.com Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: