Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
Fully Compatible
-
Sharding 2019-10-21
Description
Currently, the mongos version of getShardVersion (which returns mongos's routing table cache entry for a collection or a database) returns the collection version (the highest version of any chunk in the collection out of the chunks present in the cache entry) and logs the chunks.
It is much more useful for the command to return the chunks (instead of only logging them), similarly to how the shard version of getShardVersion (which returns the shard's filtering table entry for a collection) does.
Attachments
Issue Links
- is related to
-
DOCS-12521 Document fullMetadata option for db.collection.getShardVersion() command
-
- Closed
-
- related to
-
SERVER-10410 better reporting of mongod collection metadata state
-
- Closed
-