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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.9
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2019-02-25, Repl 2019-03-11
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Suganthi Mani
            Reporter:
            Suganthi Mani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: