[SERVER-83463] Support new PM-3190 update/delete broadcast protocol for bulkWrite in bulk_write_exec Created: 20/Nov/23  Updated: 05/Jan/24  Resolved: 05/Jan/24

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

Type: Task Priority: Major - P3
Reporter: Kaitlin Mahar Assignee: Kaitlin Mahar
Resolution: Fixed Votes: 0
Labels: milestone-2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-82061 Handle bulkWriteReplyItem in WriteOp:... Closed
Related
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-11-27, Repl 2023-12-11, Repl 2023-12-25, Repl 2024-01-08
Participants:

 Description   

PM-3190 switches to a new protocol for handling updateOne/deleteOne with _id without shard key. We need to make equivalent changes on the bulk_write_exec code path to those that have been made for batch_write_exec and add equivalent unit tests.

See specifically the changes from these commits:



 Comments   
Comment by Githook User [ 05/Jan/24 ]

Author:

{'name': 'Kaitlin Mahar', 'email': 'kaitlin.mahar@mongodb.com', 'username': 'kmahar'}

Message: SERVER-83463 Use summary fields to obtain n value for WriteWithoutShardKeyWithId (#17641)

GitOrigin-RevId: 731b4fa9abf80acb969541de4cf9619b4d43c013
Branch: master
https://github.com/mongodb/mongo/commit/55e9d413f6f27d41f20ec89eeef049a16b6bddff

Comment by Githook User [ 15/Dec/23 ]

Author:

{'name': 'Kaitlin Mahar', 'email': 'kaitlin.mahar@mongodb.com', 'username': 'kmahar'}

Message: SERVER-83463 Support new broadcast protocol for updateOne/deleteOne with _id without shard key for bulkWrite command

GitOrigin-RevId: a4e55929e89667015442ba92a0ef8f5be3fd0fd8
Branch: master
https://github.com/mongodb/mongo/commit/1f485379e990596f919f6033e34bbb534b69ce18

Comment by Githook User [ 14/Dec/23 ]

Author:

{'name': 'aleksei.vasilev', 'email': 'aleksei.vasilev@mongodb.com', 'username': 'AlexVasilOne'}

Message: Revert "SERVER-83463 Support new broadcast protocol for updateOne/deleteOne with _id without shard key for bulkWrite command"

This reverts commit 213d519e70031aff6ee894c6e3ce6ed58c447712.

GitOrigin-RevId: 6b984e69ca4bd9acf2d9fe5570d73b176db925c3
Branch: master
https://github.com/mongodb/mongo/commit/8902e80996400614802f0434650274286fa2b995

Comment by Githook User [ 14/Dec/23 ]

Author:

{'name': 'Kaitlin Mahar', 'email': 'kaitlin.mahar@mongodb.com', 'username': 'kmahar'}

Message: SERVER-83463 Support new broadcast protocol for updateOne/deleteOne with _id without shard key for bulkWrite command

GitOrigin-RevId: 213d519e70031aff6ee894c6e3ce6ed58c447712
Branch: master
https://github.com/mongodb/mongo/commit/3d781bd72e5712cefd7d4eda56c477b0fba13c61

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