翻译或纠错本页面

db.collection.getShardVersion()

db.collection.getShardVersion()

This method returns information regarding the state of data in a sharded cluster that is useful when diagnosing underlying issues with a sharded cluster.

For internal and diagnostic use only.