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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Replication
    • Replication

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            dwight@mongodb.com Dwight Merriman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: