[SERVER-71874] Return early if empty response detected from _clusterQueryWithoutShardKey in findAndModify two phase protocol Created: 05/Dec/22 Updated: 29/Oct/23 Resolved: 12/Dec/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Sanika Phanse (Inactive) | Assignee: | Sanika Phanse (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Sharding 2022-12-12, Sharding NYC 2022-12-26 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 129 | ||||||||||||
| Description |
|
Add
|
| Comments |
| Comment by Githook User [ 09/Dec/22 ] | |||||||||||||||
|
Author: {'name': 'Sanika Phanse', 'email': 'sanika.phanse@mongodb.com', 'username': 'sphanse99'}Message: | |||||||||||||||
| Comment by Sanika Phanse (Inactive) [ 07/Dec/22 ] | |||||||||||||||
|
Expected response of a findAndModify that does not match the query and has {upsert:false}:
Currently, the response only contains "ok: 1" onwards. Solution is to construct a findAndModify response with correct fields before returning the semifuture in the description above. |