[SERVER-82962] Add unit test coverage for summary fields in bulkWrite Created: 08/Nov/23  Updated: 11/Dec/23  Resolved: 11/Dec/23

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: Sean Zimmerman Assignee: Kaitlin Mahar
Resolution: Fixed Votes: 0
Labels: milestone-2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-12-11, Repl 2023-12-25
Participants:

 Description   

In SERVER-80293 we added summary fields to bulkWrite which we tested with jstests. We want to add checks to our existing unit tests that also check these fields are populated as we expect.



 Comments   
Comment by Githook User [ 11/Dec/23 ]

Author:

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

Message: SERVER-82962 Add unit tests for bulkWrite summary field calculation on mongos

GitOrigin-RevId: 5a17fcdf027d84693af7e65baac37b9353b6bd68
Branch: master
https://github.com/mongodb/mongo/commit/0c5784d65801fd007a70ca53f98cfeb0b015bba9

Comment by Kaitlin Mahar [ 08/Nov/23 ]

as part of this let's ensure to cover both the "normal" path (noteChildBatchResponse) and the special-case one used for retryable timeseries updates and the two-phase write protocol (noteWriteOpFinalResponse).

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