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

no warning if restart mongod with --master instead of --replSet

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
    • Replication

      If one has been running as a replica set member, and then restarts with --master, mongod gives no warning and just goes at it, creating the non-replset local.oplog.$main collection.

      If on purpose that would be semi-ok but it is likely in such as scenario to be user error so we should do something either 1) warn, 2) disallow, or something.

      If disallowed we should tell people how to do this on purpose – for example, backing up and then deleting their local database before starting back up with --master would be one approach. --master is deprecated so a warning might suffice.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            dwight@mongodb.com Dwight Merriman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: