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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0, 5.1.2, 5.0.6
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v5.1, v5.0
    • 45

      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.

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

              Created:
              Updated:
              Resolved: