-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
When a document is reloaded, in sharded topology the find is performed using the _id + the shard key. If the find returns no results, DocumentNotFound is raised. The exception message in this case only says that the document wasn't found by its id which is incorrect - the selector was id + shard key.
- related to
-
MONGOID-5076 reload fails to find document when the document's sharded field has been updated
- Closed