[SERVER-72792] Implement progress bookkeeping for individual ops in BulkWriteExec Created: 12/Jan/23  Updated: 29/Oct/23  Resolved: 17/May/23

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

Type: Task Priority: Major - P3
Reporter: Lingzhi Deng Assignee: Vishnu Kaushik
Resolution: Fixed Votes: 0
Labels: milestone-2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-72788 Construct sub-batching bulkWrite comm... Closed
depends on SERVER-72984 Send sub-bulkWrite batches to targete... Closed
is depended on by SERVER-72790 Handle stale config errors and refres... Closed
is depended on by SERVER-76025 Enable bulkWrite jscore tests for sha... Closed
is depended on by SERVER-76027 Limit memory usage for bulkWrite (mon... Closed
is depended on by SERVER-76267 Populate numErrors in mongos command ... Closed
is depended on by SERVER-76953 Support unordered operations on mongos Closed
is depended on by SERVER-76954 Support write concern and handle writ... Closed
is depended on by SERVER-76957 Handle mongos local and other general... Closed
is depended on by SERVER-76958 Consume mongod bulkwrite cursor respo... Closed
is depended on by SERVER-77004 Mongos should forward reply items in ... Closed
Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-05-01, Repl 2023-05-15, Repl 2023-05-29
Participants:

 Description   

We will reuse most of helper structures/classes (e.g. TargetedWriteBatch, TargetedWrite, WriteOp) used in BatchWriteExec because they already abstract out the kind of write operation it is doing. And we can leverage existing response/progress bookkeeping logic and operation lifecycle management in those classes for bulkWrite. Small modifications will be made to extract individual op correctly from the bulkWrite command and reference corresponding namespace info properly.



 Comments   
Comment by Githook User [ 17/May/23 ]

Author:

{'name': 'kauboy26', 'email': 'vishnu.kaushik@mongodb.com', 'username': 'kauboy26'}

Message: SERVER-72792 implement basic progress tracking for individual operations in bulkWrite
Branch: master
https://github.com/mongodb/mongo/commit/a5e8b7dada69c783873940d6f0723e99480626ad

Comment by Vishnu Kaushik [ 10/May/23 ]

To lingzhi.deng@mongodb.com - that has been split out int SERVER-77004 now.

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