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

Create passthrough hook to fail and restart fixture if primary node is not primary

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • TIG 2017-12-18
    • 0

    Description

      Passthroughs expect one node to be primary the entire time. When that node steps down, it leads to multiple test failures with "not master" until the fixture is restarted. If we added a simple hook that checks if the primary is still primary, and if not fails and restarts the fixture, failures in these passthroughs would be easier to diagnose.
      Example: https://evergreen.mongodb.com/task/mongodb_mongo_master_enterprise_rhel_62_64_bit_jsCore_small_oplog_rs_initsync_static_b88aa488a196fff387d443fc2e8c08f3bb6fed2d_16_12_01_01_55_55

      Attachments

        Activity

          People

            kevin.albertson@mongodb.com Kevin Albertson
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: