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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.9.0
    • Affects Version/s: None
    • Component/s: Replication
    • None

      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.

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

              Created:
              Updated:
              Resolved: