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

Increase timeoutMS in exhaust_hello_topology_changes.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc5, 7.0.13
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • v8.0, v7.0, v6.0, v5.0
    • Cluster Scalability 2024-4-29
    • 0

      The timeoutMS that the test uses to wait for a mongos' RSM to track that a node that stepped down is a secondary needs to be > 10 seconds.

      The reason is that after a primary steps down and sends a hello to the mongos' RSM indicating it is a secondary, a concurrent background thread can fail to run a command due to stepdown. This then causes the RSM to overwrite the node's state from secondary to unknown. The test will then need to wait > 10 seconds so that the mongos' RSM can receive another hello from the stepped down primary indicating it is a secondary. 

      See BF-29287 for more information. 
       

            Assignee:
            wenqin.ye@mongodb.com Wenqin Ye
            Reporter:
            wenqin.ye@mongodb.com Wenqin Ye
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: