[SERVER-52856] Attach Client to the current thread in op_msg_fuzzer Created: 13/Nov/20  Updated: 29/Oct/23  Resolved: 16/Nov/20

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Bug Priority: Major - P3
Reporter: Amirsaman Memaripour Assignee: Amirsaman Memaripour
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to SERVER-53269 Complete TODO listed in SERVER-51278 Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Service arch 2020-11-30
Participants:
Linked BF Score: 50

 Description   

To process commands, handleRequest and other methods in ServiceEntryPointCommon call into accessor methods of RequestExecutionContext, which may only be invoked by the thread that is attached to the Client object owning the operation (i.e., OperationContext).

The invocation in op_msg_fuzzer, see here, should also follow this principal (e.g., by using AlternativeClientRegion).



 Comments   
Comment by Githook User [ 16/Nov/20 ]

Author:

{'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}

Message: SERVER-52856 Attach Client to the current thread in op_msg_fuzzer
Branch: master
https://github.com/mongodb/mongo/commit/233575de1ec33bb45d8292b0a693aad58dc99f3f

Generated at Thu Feb 08 05:29:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.