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

Alert users when adding a downed node to a replica set

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.0.0
    • Component/s: Replication
    • Labels:
      None

      In MongoDB 2.6, we alerted users if they added a replica set member when it was down. To aid in automation, we should consider restoring similar functionality:

      replset:PRIMARY> rs.add('1.2.3.7:27017')
      { "down" : [ "1.2.3.6:27017", "1.2.3.7:27017" ], "ok" : 1 }
      
      Original Summary

      rs.addArb does not return an error when host is unavailable

      Original Description

      I am using MongoDB Enterprise Version 3.4.6.

      rs.addArb(host)
      

      return

      MongoDB shell version v3.4.6
      connecting to: mongodb://127.0.0.1:27017/admin
      MongoDB server version: 3.4.6
      { "ok" : 1 }
      

      when host is not available.

      It should have the same behaviour as rs.add(host).

      => Difficult to catch the error during automation.

            Assignee:
            spencer@mongodb.com Spencer Brody (Inactive)
            Reporter:
            bappr Benjamin Appréderisse
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: