[SERVER-71538] Investigate profiling of inserts in multi-document transactions Created: 22/Nov/22  Updated: 05/Dec/22

Status: Blocked
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Jordi Olivares Provencio Assignee: Backlog - Replication Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Assigned Teams:
Replication
Participants:

 Description   

As part of SERVER-59673 we discovered that multi-document transactions stash their current WUOW and disable two-phase locking before profiling an operation.

However, this is only performed for updates and deletes. Inserts do not seem to go through that path and we are left wondering if inserts are being profiled in the same WUOW as the transaction. If they are then this would mean that they only get materialised once the transaction commits.


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