Navigation
This version of the documentation is archived and no longer supported.

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.