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

yieldLocksForPreparedTransactions while calling killSessionsAction should set the kill reason as ErrorCodes::InterruptedDueToStepDown if it is called during step down.

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.13
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Repl 2019-04-22, Repl 2019-06-03

      Description

      Currently yieldLocksForPreparedTransactions while calling killSessionsAction, it doesn't pass the reason for killing the operation. As a result, if we call yieldLocksForPreparedTransactions during step down, the operation (that checked out the session) will be mark killed with default reason "ErrorCodes::Interrupted".

        Attachments

          Activity

            People

            Assignee:
            lingzhi.deng Lingzhi Deng
            Reporter:
            suganthi.mani Suganthi Mani
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: