You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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+.
The text was updated successfully, but these errors were encountered:
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.
Summary
Sharding key value change for Mongo 4.2+.
The text was updated successfully, but these errors were encountered: