[SERVER-69608] serialize access to RamLog::getLineCount and others Created: 12/Sep/22  Updated: 29/Oct/23  Resolved: 14/Sep/22

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

Type: Bug Priority: Major - P3
Reporter: Sergey Galtsev (Inactive) Assignee: Sergey Galtsev (Inactive)
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: Security 2022-09-19
Participants:
Linked BF Score: 35

 Description   

RamLog::getLineCount() invocation is not serialized, so variables such as _lastLinePosition are not protected from modification on another thread



 Comments   
Comment by Githook User [ 14/Sep/22 ]

Author:

{'name': 'Sergey Galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-69608 serialize access to RamLog::getLineCount and others
Branch: master
https://github.com/mongodb/mongo/commit/4ba9a001dd70415bb840adafae1176695a8ff4d4

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