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

initiate_takes_stable_checkpoint.js doesn't account for closing connections in rollback

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.2.0, 5.1.2, 5.0.6
    • None
    • None
    • Fully Compatible
    • ALL
    • v5.1, v5.0
    • 45

    Description

      The test initiate_takes_stable_checkpoint.js tries to set a failpoint right after a node has transitioned to rollback. Since connections are closed right after rolling back, this attempt to set a failpoint can fail if the connection is closed immediately before.

      The attempt to set the failpoint should be in an assert.soonNoExcept. It can probably be moved to the one below it.

      Attachments

        Activity

          People

            vishnu.kaushik@mongodb.com Vishnu Kaushik
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: