[DOCS-845] Document output of printShardingStatus Created: 05/Dec/12  Updated: 06/May/13  Resolved: 06/May/13

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.2

Type: Improvement Priority: Minor - P4
Reporter: Daniel Pasette (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 10 years, 41 weeks, 2 days ago

 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) 
 



 Comments   
Comment by auto [ 06/May/13 ]

Author:

{u'date': u'2013-05-03T21:32:36Z', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-845 sharding status output

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/28e0185d64467fd077743b3f06ab6b3df3e94cfb

Comment by Ed Costello [ 15/Jan/13 ]

Sorry Kay

Generated at Thu Feb 08 07:39:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.