Does `CleanupOrphaned` exist in MongoDB 3.0.2?
I am deploying shard cluster with MongoDB version 3.0.2. I check MongoDB 3.0 manual and find a command cleanupOrphaned
.
http://docs.mongodb.org/manual/reference/command/cleanupOrphaned/#log-files
When I type this command from the mongos' admins database in the following format: db.runCommand({cleanupOrphaned:"mydb.mycol"})
it returns:
{"ok": 0, "errmsg": "no such cmd: cleanupOrphaned", "code": 59}
Does anyone know why this is happening?
+3
source to share