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

Running hang analyzer in awaitSecondaryNodesForRollbackTest prevents further connections to nodes

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2020-08-10, Repl 2020-08-24

      In the ReplSetTest.awaitSecondaryNodesForRollbackTest function, we first call awaitSecondaryNodes, and if that times out, we then enter this section of logic to check for an unrecoverable rollback scenario. If the first awaitSecondaryNodes call times out, though, we trigger the hang analyzer which will suspend the mongod processes that we attach to. This prevents us from connecting to the nodes to run commands to check for unrecoverability. We should disable the hang analyzer for this awaitSecondaryNodes call (we can consider using MongoRunner.runHangAnalyzer.disable()), so that we can still connect to and run commands against nodes even after it times out.

            Assignee:
            vesselina.ratcheva@mongodb.com Vesselina Ratcheva (Inactive)
            Reporter:
            william.schultz@mongodb.com Will Schultz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: