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

snapshot_cursor_shutdown_stepdown.js should not perform transactions on secondaries

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.0-rc1, 4.1.1
    • Replication
    • None
    • Fully Compatible
    • ALL
    • v4.0
    • Repl 2018-06-04
    • 0

    Description

      This test triggers a stepdown that aborts a transaction, then checks that the cursor opened in the transaction was killed. It does so by running a getMore on that cursor in a transaction and checking for the CursorNotFound error code. There is no reason that the getMore needs to be done in a transaction, and this transaction occasionally aborts while trying to acquire the global lock. Since read-only transactions are not yet supported on secondaries, we should address the test failure by not running the getMore in a transaction.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: