[SERVER-34239] Don't extract readConcernArgs from request when running a DBDirectClient command under a transaction Created: 30/Mar/18  Updated: 29/Oct/23  Resolved: 02/Apr/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 3.7.4

Type: Bug Priority: Major - P3
Reporter: James Wahlin Assignee: Maria van Keulen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-34240 Don't extract readConcernArgs from re... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Storage NYC 2018-04-09
Participants:

 Description   

When executing a command via DBDirectClient within a transaction, that invocation should not replace the OperationContext readConcernArgs decoration to that of the request. If different than the readConcernArgs setup by the transaction, this will overwrite.

https://github.com/mongodb/mongo/blob/f1bb8e1389d6aa458e5100f3eb753b80b1a4e4e7/src/mongo/db/service_entry_point_common.cpp#L667



 Comments   
Comment by Githook User [ 02/Apr/18 ]

Author:

{'email': 'maria@mongodb.com', 'name': 'Maria van Keulen', 'username': 'mvankeulen94'}

Message: SERVER-34239 Preserve readConcernArgs for DBDirectClient under txn
Branch: master
https://github.com/mongodb/mongo/commit/c5ce37e6281a41b46d26163272aec4a00eb9ea2c

Generated at Thu Feb 08 04:35:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.