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

Tests should not try to resume index builds via failpoint while a node may be in ROLLBACK

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • None
    • Replication, Storage
    • None
    • Fully Compatible
    • ALL
    • Repl 2020-05-04

    Description

      Some tests that use the RollbackTest fixture pause index builds and resume them on the rollback node during the kSyncSourceOperationsDuringRollback test phase. During this phase the node may be in rollback and may close client connections so running a command to set a failpoint can fail. We should resume these index builds at a point in the test when we are sure the nodes are not in ROLLBACK state.

      This behavior was observed in the following tests:

      • jstests/replsets/rollback_waits_for_bgindex_completion.js
      • jstests/replsets/primary_rollbacks_before_index_build_received_votes.js.

      Attachments

        Activity

          People

            william.schultz@mongodb.com William Schultz (Inactive)
            william.schultz@mongodb.com William Schultz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: