-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MONGOID-5590 - Docs: Clarify that shard key dot limitation comes from MongoDB server #5603
base: master
Are you sure you want to change the base?
MONGOID-5590 - Docs: Clarify that shard key dot limitation comes from MongoDB server #5603
Conversation
…goDB server, not from Mongoid.
@jamis ready to merge. |
@jamis any reason why this doc-only PR can't be merged? |
@johnnyshields -- I think this might not be true anymore. For v6 of the database, I think you're right (https://www.mongodb.com/docs/v6.0/core/dot-dollar-considerations/), but the current docs (https://www.mongodb.com/docs/manual/core/dot-dollar-considerations) make no mention of that restriction. The page you're linking to in the docs seems to flatly contradict the statement that dots and dollar signs are not supported. If you can find another page for the current server version (v7) that says that dots and dollar signs are forbidden in shard keys at the server level, please do update the PR. Otherwise, I think this PR might be obsolete. |
As per DOCS-15993, the limitation of dot in shard keys comes from MongoDB server, not from Mongoid.
This is a follow-up to #5588