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

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • ALL
    • Repl 2021-02-22
    • 11

      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
      

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

              Created:
              Updated:
              Resolved: