[SERVER-1142] Expose more methods to like getReplicationInfo to pymongo and other drivers Created: 23/May/10 Updated: 15/Nov/21 Resolved: 23/May/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Andreas Jung | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
""" """ Those are not commands but queries on the oplog, so you'd have to To view the source of getReplicationInfo type: db.getReplicationInfo in the shell (note no parens). You should be able to translate this to |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 23/May/10 ] |
|
please see: notably db._adminCommand( { serverStatus : 1 , repl : N }) |