-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.6.0-rc1
-
Component/s: None
-
Query Execution
-
ALL
-
Query 2019-12-02, Query 2019-12-30, Query 2020-01-13, Query Execution 2021-04-05, Query Execution 2021-04-19
findAndModify can accept a "fields" option that determines which fields to return in the value object (like projection). Right now when reconstructing the findAndModify response, we don't account for this option. Instead, if "fields" is given we should filter the response to include the specified fields only.
Failing retryable_writes_jscore_passthrough tests:
- crud_api.js
- find_and_modify2.js
- find_and_modify_server6865.js
- profile_findandmodify.js
- is depended on by
-
SERVER-76583 Support retryable findAndModify for time-series collections
- Backlog
- is duplicated by
-
SERVER-44151 Retryable write of findAndModify can return incorrect results when the 'fields' argument is specified
- Closed
-
SERVER-43484 Complete TODO listed in SERVER-31242
- Closed
- is related to
-
SERVER-45653 avoid writing unneeded fields to no-op oplog entry to findAndModify with retryable writes
- Closed
- related to
-
SERVER-48368 fts_find_and_modify.js should be blacklisted in passthroughs that require retryable writes
- Closed