Skip to content
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

Future server versions may not need shard key for write command query criteria #2181

Open
jmikola opened this issue May 7, 2020 · 0 comments
Projects

Comments

@jmikola
Copy link
Member

jmikola commented May 7, 2020

Feature Request

Q A
New Feature yes
RFC no
BC Break no

Summary

Future server versions may no longer require a shard key in updateOne (DRIVERS-817). This may also extend to deleteOne and findAndModify. I believe ODM currently injects the shard key into queries to satisfy the requirement for current server versions, but this is something that may be possible to relax down the line. Opening this issue as a preemptive tracking ticket.

There is a separate initiative to relax this requirement for updateMany (DRIVERS-818); however, that is being scoped/designed independently and may come in a later server version than updateOne support.

@alcaeus alcaeus added this to 2.x in Roadmap Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Roadmap
2.x (future scope)
Development

No branches or pull requests

2 participants