[DOCS-2609] Correct Documentation of Unique Indexs for Sharded Collections Created: 28/Jan/14  Updated: 17/Mar/14  Resolved: 21/Feb/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.1

Type: Improvement Priority: Critical - P2
Reporter: Mathias Stearn Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: http://docs.mongodb.org/manual/tutorial/enforce-unique-keys-for-sharded-collections/
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0
Referrer: http://docs.mongodb.org/manual/reference/limits/
Screen Resolution: 2560 x 1440
repo: docs
source: tutorial/enforce-unique-keys-for-sharded-collections


Participants:
Days since reply: 9 years, 48 weeks, 2 days ago

 Description   

footnote 1 makes it seem like we let you create a unique index on a sharded collection and just fail to enforce it. We don't. Creating new unique indexes will fail, and we refuse to shard collections with unique indexes on fields other than _id. The footnote as-is (and much of this page) only applies to the _id index.

Also the Warning should probably be presented as a 3rd option: using guaranteed unique identifiers.



 Comments   
Comment by Githook User [ 17/Mar/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-2609: updated odd cases mentioning 2.5.x
Branch: master
https://github.com/mongodb/docs/commit/299852516ec14ad5f151c7c3823fb5d2a68b6c9b

Comment by Githook User [ 17/Mar/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-2609: changed 2.5.x to 2.6 in directives:
Branch: master
https://github.com/mongodb/docs/commit/119de9c84cb178c60c13b69774831d507be7e63a

Comment by Githook User [ 21/Feb/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-2609: edits to enforce uniqueness to clarify behavior
Branch: master
https://github.com/mongodb/docs/commit/561a45f0a679ef32cd9af9cc4c875549c8200914

Comment by Githook User [ 21/Feb/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-2609: edits to enforce uniqueness to clarify behavior
Branch: v2.4
https://github.com/mongodb/docs/commit/6dc447c3d275ea85a51c50e60bad1eaf77ea7b5e

Generated at Thu Feb 08 07:43:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.