Ensure collections are sharded for all documents that can be loaded with the
metadata factory.
public ensureSharding ( array $indexOptions = [] ) | ||
$indexOptions | array | Options for `ensureIndex` command. It's performed on an existing collections |