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

Mongo 4.2+ now supports sharding key value change. Doctrine - doesn't. #2241

Open
o10g opened this issue Nov 5, 2020 · 0 comments
Open

Mongo 4.2+ now supports sharding key value change. Doctrine - doesn't. #2241

o10g opened this issue Nov 5, 2020 · 0 comments
Labels
Projects

Comments

@o10g
Copy link

o10g commented Nov 5, 2020

Feature Request

Doctrine now supports sharding key value change.
There are some limitations, but nothing critical.
The major one - you must provide sharding key in a "where" clause in case you change it.

https://docs.mongodb.com/manual/core/sharding-shard-key/#change-a-document-s-shard-key-value

Nowadays doctrine just unsets the sharding key changes on update if it knows about sharding. Or it just doesn't have any way to modify the query for "where" clause.

Q A
New Feature yes
RFC no
BC Break yes

Summary

Sharding key value change for Mongo 4.2+.

@malarzm malarzm added the Feature label Nov 5, 2020
@malarzm malarzm added this to 2.x in Roadmap Nov 5, 2020
@malarzm malarzm added this to the 2.x milestone Nov 5, 2020
@alcaeus alcaeus removed this from the 2.x milestone Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Roadmap
2.x (future scope)
Development

No branches or pull requests

3 participants