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

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0-rc1, 4.1.1
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0
    • Sprint:
      Repl 2018-06-04
    • Linked BF Score:
      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

            Assignee:
            tess.avitabile Tess Avitabile
            Reporter:
            tess.avitabile Tess Avitabile
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: