[SERVER-79492] Consider incrementing PreImagesCollectionManager::_insertedDocs in an onCommit handler Created: 31/Jul/23  Updated: 29/Oct/23  Resolved: 29/Aug/23

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

Type: Improvement Priority: Major - P3
Reporter: Haley Connelly Assignee: Miquel Munoz (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-77909 Explore adding $collStats FTDC data f... Closed
Assigned Teams:
Storage Execution EMEA
Backwards Compatibility: Fully Compatible
Sprint: Execution EMEA Team 2023-09-04
Participants:

 Description   

If the operation fails and must be retried, it is possible the _insertedDocs tracked in the PreImagesCollectionManager will double count the number of inserted documents if the operation must be retried. 



 Comments   
Comment by Githook User [ 29/Aug/23 ]

Author:

{'name': 'Miquel Munoz', 'email': 'miquelmunozz@gmail.com', 'username': 'mimugara'}

Message: SERVER-79492 Increment PreImagesCollectionManager::_insertedDocs in an onCommit handler
Branch: master
https://github.com/mongodb/mongo/commit/d7bd3a8cfd9b83283497a551e75dd37960717e55

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