[SERVER-1047] db.stats() returns 0 for all counters on slave Created: 25/Apr/10 Updated: 12/Jul/16 Resolved: 25/Apr/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 1.4.1 |
| Fix Version/s: | 1.5.1 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | David Mytton | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Thu Apr 15 20:04:41 db version v1.4.1, pdfile version 4.5 |
||
| Participants: |
| Description |
|
david@stelmaria ~/mongodb: bin-1.4.1/bin/mongo sd > db.stats() Works fine on the master. Does not work on the slave in a replica pair. Started with: ./bin-1.4.1/bin/mongod --dbpath data-1.2/ --quiet --fork --logpath log-1.4.1.log --nohttpinterface --oplogSize=75000 --pairwith internal.asriel.boxedice.net |
| Comments |
| Comment by auto [ 25/Apr/10 ] |
|
Author: {'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: helper to load collection names so not to use DBDirectClient |