[SERVER-82248] Synchronize internalCostModelCoefficients parameter Created: 17/Oct/23  Updated: 29/Oct/23  Resolved: 17/Oct/23

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

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

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: QO 2023-10-30
Participants:
Linked BF Score: 35

 Description   

internalCostModelCoefficients parameter is declared in query_knobs.idl as std::string which make data races possible. To avoid data races with the parameter it should be declared as synchronized_value<std::string>



 Comments   
Comment by Githook User [ 17/Oct/23 ]

Author:

{'name': 'Alexander Ignatyev', 'email': 'alexander.ignatyev@mongodb.com', 'username': 'aligusnet'}

Message: SERVER-82248 Synchronize internalCostModelCoefficients parameter

To avoid data races with internalCostModelCoefficients it is declared it as synchronized_value<std::string> instead of previous type `std::string`.
Branch: master
https://github.com/mongodb/mongo/commit/1e59decbd4de6fb7e576cecb9967fd4139fe5758

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