OPTIONS

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.