Details
-
Improvement
-
Resolution: Cannot Reproduce
-
Major - P3
-
None
-
None
-
sharding environment
*Location*: http://docs.mongodb.org/manual/tutorial/enforce-unique-keys-for-sharded-collections/
*User-Agent*: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36
*Referrer*: https://www.google.com/
*Screen Resolution*: 1366 x 768
*repo*: docs
*source*: tutorial/enforce-unique-keys-for-sharded-collections
sharding environment *Location*: http://docs.mongodb.org/manual/tutorial/enforce-unique-keys-for-sharded-collections/ *User-Agent*: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36 *Referrer*: https://www.google.com/ *Screen Resolution*: 1366 x 768 *repo*: docs *source*: tutorial/enforce-unique-keys-for-sharded-collections
Description
In shard this doc you specified two methods to ensure uniqueness in for multiple keys in shard environment. The second method you specified was vague not easily understandable. Explaining it would be better