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

Reconfiguring a replica set from all-localhost to no-localhost

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: 2.0.2
    • Component/s: Replication
    • None
    • Replication
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      It's currently impossible to reconfigure a replica set from a configuration object that specifies all localhost (or loopback IP addresses) to one that specifies no localhost (or loopback addresses), even with force: true. If the point of force:true is that the user is expected to know what he's doing, this might as well be a supported operation. (As improbable as it seems, user got himself into this situation during a training session today, after exhausting disk space, and getting out of it was annoying.)

      Alternatively, maybe we should just not let people use localhost/loopbackaddrs for replica sets entirely?

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            richard.kreuter Richard Kreuter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: