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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Replication, Storage
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Repl 2020-05-04

      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.

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

              Created:
              Updated:
              Resolved: