[SERVER-75257] Include the original query in conjunction with the target document in _clusterWriteWithoutShardKey Created: 24/Mar/23  Updated: 29/Oct/23  Resolved: 27/Mar/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Jason Zhang Assignee: Jason Zhang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding NYC 2023-04-03
Participants:

 Description   

If a positional operator ($) is used in the original query to perform an update to an element in an array, the array field must appear within the original query document, so we must include it in our targeted query in _clusterWriteWithoutShardKey if it was originally provided.



 Comments   
Comment by Githook User [ 27/Mar/23 ]

Author:

{'name': 'Jason Zhang', 'email': 'jason.zhang@mongodb.com', 'username': 'jz1242'}

Message: SERVER-75257 Include the original query in conjunction with the target document in _clusterWriteWithoutShardKey
Branch: master
https://github.com/mongodb/mongo/commit/e7a8ceff3ecedd75483d28045ee808ac5890b66d

Generated at Thu Feb 08 06:29:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.