-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 1.4.1
-
Component/s: Replication
-
None
david@stelmaria ~/mongodb: bin-1.4.1/bin/mongo sd
MongoDB shell version: 1.4.1
url: sd
connecting to: sd
type "help" for help
> db.getMongo().setSlaveOk()
> db.sd_boxedice_servers.find()
> db.stats()
{
"collections" : 0,
"objects" : 0,
"dataSize" : 0,
"storageSize" : 0,
"numExtents" : 0,
"indexes" : 0,
"indexSize" : 0,
"ok" : 1
}
>
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