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

Update the `hasKilledSessionError()` helper to also check the `writeError` key for an Interrupt code

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 6.0.16, 7.0.11
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.0, v6.0
    • Sharding NYC 2023-07-24, Sharding NYC 2023-08-07, Sharding NYC 2023-08-21
    • 6

      At the moment the `hasKilledSessionError()` helper  does not check the `writeError` key for an `Interrupt` error code. This results in some transactions not being retried when they should be as this helper is used by `auto_retry_transactions.js`  to determine if a transaction should be retried. 

            Assignee:
            wenqin.ye@mongodb.com Wenqin Ye
            Reporter:
            wenqin.ye@mongodb.com Wenqin Ye
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: