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

Update replication options in /etc/mongod.conf

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • 2.5.4
    • None
    • Packaging
    • ALL

    Description

      Master/Slave replication is deprecated yet in /etc/mongod.conf we have this:

      # Replication Options
       
      # in replicated mongo databases, specify here whether this is a slave or master
      #slave=true
      #source=master.example.com
      # Slave only: specify a single database to replicate
      #only=master.example.com
      # or
      #master=true
      #source=slave.example.com

      It would be better to replace these with replSet= for example.

      Attachments

        Activity

          People

            david.storch@mongodb.com David Storch
            tyler@10gen.com Tyler Brock
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: