Running hang analyzer in awaitSecondaryNodesForRollbackTest prevents further connections to nodes

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Will Schultz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: