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

Fix backup_restore.js to check for WriteCommandError while inserting data to "afterClientKills" collection.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.9
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2019-02-25, Repl 2019-03-11
    • 0

    Description

      If, suppose, the primary node steps down before inserting data to "afterClientKills" collection, the insert command fails. Since, currently we don't check for write command error for that insert op, assert.soonNoExcept keeps retrying the insert op for 10 mins without spitting any kind of write command error message.

      Attachments

        Activity

          People

            suganthi.mani@mongodb.com Suganthi Mani
            suganthi.mani@mongodb.com Suganthi Mani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: