[SERVER-83481] Do not set WriteType as WriteWithoutShardKeyWithId for transactional writes Created: 20/Nov/23 Updated: 28/Nov/23 Resolved: 28/Nov/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Abdul Qadeer | Assignee: | Abdul Qadeer |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Cluster Scalability
|
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Cluster Scalability 2023-12-11 |
| Participants: | |
| Story Points: | 2 |
| Description |
|
As reported by kaitlin.mahar@mongodb.com, we are checking !opCtx->isMultiDocumentTransaction() to ascertain if we are in a transaction or not. This method is incorrect as it only checks if user requested the same. This should be replaced with a check for null value of TransactionRouter::get |
| Comments |
| Comment by Githook User [ 28/Nov/23 ] |
|
Author: {'name': 'Abdul Qadeer', 'email': 'abdul.qadeer@mongodb.com', 'username': 'zorro786'}Message: |