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

make rollback_auth.js more robust

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: Needs Triage
    • Fix Version/s: 3.6.9
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Repl 2018-10-08, Repl 2018-10-22, Repl 2018-11-05
    • Linked BF Score:
      19

      Description

      rollback_auth.js relies on nodes successfully completing rollback before performing auth checks and currently uses awaitReplication() to do so.

      Unfortunately, awaitReplication() does not guarantee that a node has rolled back especially in the case of network failures. We should explicitly check the state of the recovering node and make sure it is a secondary before performing these checks.

        Attachments

          Activity

            People

            Assignee:
            pavithra.vetriselvan Pavithra Vetriselvan
            Reporter:
            pavithra.vetriselvan Pavithra Vetriselvan
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: