All sharded collections must have an index that starts with the
shard key. If you shard a collection without any documents and
without such an index, the shardCollection command will
create the index on the shard key. If the collection already has
documents, you must create the index before using
This shard key index can be an index of the shard key itself, or a
compound index where the shard key is a prefix of the index.