[SERVER-2616] merge printReplicationInfo and printSlaveReplicationInfo() WAS: db.printReplicationInfo should print a more help message when run on a secondary Created: 23/Feb/11 Updated: 12/Jul/16 Resolved: 03/Mar/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 1.9.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kyle Banker | Assignee: | Kristina Chodorow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| 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. |
| Comments |
| Comment by auto [ 03/Mar/11 ] |
|
Author: {u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}Message: printReplicationInfo will print slave info on a slave |
| Comment by Eliot Horowitz (Inactive) [ 23/Feb/11 ] |
|
we should just have 1 command that does the thing and says what your'e talking to |