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

transactions_during_step_down.js must abort transaction in the shell

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.8, 4.4.0-rc7, 4.7.0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • v4.4, v4.2
    • Repl 2020-06-01
    • 12

      In transactions_during_step_down.js, we start a transaction, which gets aborted by a stepdown. However, since we never abort the transaction in the shell, when the session goes out of scope and garbage collection runs, we run endSession(), which will run abortTransaction against the server. This can hang and lead to deadlock if we are in the process of stopping the ReplSetTest and have fsynclocked the server.

            Assignee:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Reporter:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: