TransactionReaper and periodic transaction abort thread shouldn't abort transactions on secondaries

XMLWordPrintableJSON

    • Fully Compatible
    • Sharding 2019-01-28, Sharding 2019-02-11, Sharding 2019-02-25, Sharding 2019-03-11
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Periodic transaction killer kills unprepared transactions that run longer than 60 seconds. It shouldn't kill transactions on secondaries. Currently, it's very unlikely to have transactions in "kInProgress" state longer than 60 seconds on secondaries since such transactions become prepared right after applying all their write operations; this will be more likely when we start to support transactions consisting of multiple oplog entries.

      Session reaper and other periodic threads may have the same issue and need auditing.

            Assignee:
            Matthew Saltz (Inactive)
            Reporter:
            Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: