I want to initiate the sharding. as you know shard key is very important. I found, MongoDB doesn't ensure unique _id field values when using a shard key other than _id.
In our collections, username shoud be shard key. If i create compound shard key and use _id as second part of shard key, does mongoDB guarantee uniqueness of _id ?