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

Fix how election_handoff.js checks for handoff to

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Replication
    • ALL
    • Repl 2023-04-17, Repl 2023-05-01, Repl 2023-05-15, Repl 2023-05-29
    • 7

    Description

      There are some cases where tests that use election_handoff.js fail because this checkLog call does not find the log line in question. However, the logs actually do contain the line, the checkLog function somehow missed it. It's possible that during the test the log ran out of space and truncate the line we were looking for.

      We should instead have the test make use of failpoints to check that the handoff happens as expected.

      Attachments

        Activity

          People

            sean.zimmerman@mongodb.com Sean Zimmerman
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: