The `cleanupOrphaned` doesn't exist in MongoDB 3.0.2? -


i deploy sharded cluster mongodb version of 3.0.2.
check mongodb 3.0 manual , find command cleanuporphaned.

http://docs.mongodb.org/manual/reference/command/cleanuporphaned/#log-files

when type command mongos' admin database follow format:
db.runcommand({cleanuporphaned:"mydb.mycol"})
returns:

{ "ok" : 0, "errmsg" : "no such cmd: cleanuporphaned", "code" : 59 }

does know why happens???

run cleanuporphaned in admin database directly on mongod instance primary replica set member of shard. not run cleanuporphaned on mongos instance. given in same link.


Comments