Hi
from the mongoDB docs (http://docs.mongodb.org/manual/core/sharding-shard-key/) I'm reading
sharded systems cannot enforce cluster-wide unique indexes unless the unique field is in the shard key.
I'm not shure to understand well. If I have the following unique index {a,b,c,d} and the sharded key {a,b},
is the uniqueness of {a,b,c,d} respected across all the cluster?
The docs also says:
MongoDB does not support unique indexes across shards, except when the unique index contains the full shard key as a prefix of the index. In these situations MongoDB will enforce uniqueness across the full key, not a single field.