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

merge printReplicationInfo and printSlaveReplicationInfo() WAS: db.printReplicationInfo should print a more help message when run on a secondary

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.9.0
    • None
    • Replication
    • None

    Description

      Currently it prints this:

      { "errmsg" : "neither master/slave nor replica set replication detected" }

      It should detect that it's connected to a slave and just run db.printSlaveReplicationInfo() automatically.

      Attachments

        Activity

          People

            kristina Kristina Chodorow (Inactive)
            kbanker Kyle Banker
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: