-
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-4826 Support hashed shard key declarations #4715
Conversation
6f633b9
to
5b8dc8d
Compare
I wanted to make CI green on jruby before this PR but let's get this PR in since I believe work here is complete. |
docs/tutorials/sharding.txt
Outdated
shard_key country: 1 | ||
|
||
# The collection must also have an index that starts with the shard key. | ||
index ssn: 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this say index country: 1
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should, thank you.
…o hash. So we could shard collection with rake
https://jira.mongodb.com/browse/MONGOID-4826