-
Type: Bug
-
Resolution: Cannot Reproduce
-
Priority: Minor - P4
-
None
-
Affects Version/s: 2.0.0
-
Component/s: Shell
-
None
-
Environment:Linux 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
-
Sharding
-
Linux
mongos> use admin
switched to db admin
mongos> db.runCommand(
);
{ "ok" : 0, "errmsg" : "already enabled" }mongos> db.printShardingStatus();
printShardingStatus: not a shard db!
mongos> use config
switched to db config
mongos> db.databases.find();
mongos> db.locks.find();
{ "_id" : "balancer", "process" : "u2dev-mongo-03:27017:1316615709:1804289383", "state" : 0, "ts" : ObjectId("4e79ffe070639be433e17f71"), "when" : ISODate("2011-09-21T15:16:48.839Z"), "who" : "u2dev-mongo-03:27017:1316615709:1804289383:Balancer:846930886", "why" : "doing balance round" }mongos> db.shards.find();
{ "_id" : "shard0000", "host" : "192.168.9.213:27018" } { "_id" : "shard0001", "host" : "192.168.9.214:27018" } { "_id" : "shard0002", "host" : "192.168.9.215:27018" } { "_id" : "shard0003", "host" : "192.168.9.216:27018" } { "_id" : "shard0004", "host" : "192.168.9.217:27018" }mongos> db.collections.find();
{ "_id" : "catalog_ru.catalog_search_index", "lastmod" : ISODate("1970-01-16T05:43:38.084Z"), "dropped" : false, "key" :
, "unique" : false }