Description
It might be useful to document what the output of printShardingStatus. Most of it is self-explanatory, but the chunk output is a bit opaque (specifically the chunk update timestamp) and i don't think the use of sh.status(true) is explained.
-- Sharding Status ---
|
sharding version: { "_id" : 1, "version" : 3 }
|
shards:
|
{ "_id" : "db0", "host" : "localhost:29017", "tags" : [ "Africa" ] }
|
{ "_id" : "db1", "host" : "localhost:29018", "tags" : [ "Antartica" ] }
|
databases:
|
{ "_id" : "admin", "partitioned" : false, "primary" : "config" }
|
{ "_id" : "test", "partitioned" : true, "primary" : "db0" }
|
test.locations chunks:
|
db0 5
|
db1 4
|
{ "region" : { $minKey : 1 }, "val" : { $minKey : 1 } } -->> { "region" : "Africa", "val" : { $minKey : 1 } } on : db0 Timestamp(8000, 1)
|
{ "region" : "Africa", "val" : { $minKey : 1 } } -->> { "region" : "Africa", "val" : 2036.296193804591 } on : db0 Timestamp(8000, 42)
|
{ "region" : "Africa", "val" : 2036.296193804591 } -->> { "region" : "Africa", "val" : 4527.909830942727 } on : db0 Timestamp(8000, 43)
|
|
|