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

replSetReconfig.js should check ismaster before running the reconfig command

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.2.7, 4.4.0-rc2, 4.7.0
    • Replication
    • None
    • Fully Compatible
    • ALL
    • v4.4, v4.2
    • Repl 2020-04-20
    • 42

    Description

      replSetReconfig.js currently runs an ismaster command on a node, but checks for the primary field. Doing so would just indicate that the node has been elected.

      We really want to check the ismaster field, which implies that the node is ready to accept writes.

      This change should be backported to all earlier affected versions.

      Attachments

        Activity

          People

            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: