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

transactions_during_step_down.js must abort transaction in the shell

    XMLWordPrintableJSON

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: