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

Restarting heartbeats in RollbackTest.transitionToSyncSourceOperationsDuringRollback can fail to run if the node is already in rollback

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Operating System:
      ALL
    • Sprint:
      Repl 2021-02-22
    • Linked BF Score:
      11

      Description

      When transitioning to kSyncSourceOpsDuringRollback, the rollback test fixture restarts heartbeats on the secondary after it is reconnected. However, it appears that if the node goes into rollback before this restartHeartbeats command goes through, it can fail with

      uncaught exception: Error: error doing query: failed: network error while attempting to run command 'replSetTest' on host 'ip-10-122-83-72:20520'  :
      DB.prototype.runCommand@src/mongo/shell/db.js:177:19
      Mongo.prototype.adminCommand@src/mongo/shell/mongo.js:159:12
      RollbackTest/this.transitionToSyncSourceOperationsDuringRollback@jstests/replsets/libs/rollback_test.js:572:30
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              huayu.ouyang Huayu Ouyang
              Reporter:
              gregory.noma Gregory Noma
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: