[SERVER-34791] FreeMonStorage is not using proper locking for writes Created: 02/May/18  Updated: 29/Oct/23  Resolved: 04/May/18

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 4.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Eric Milkie Assignee: Mark Benvenuto
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: Platforms 2018-05-07
Participants:
Linked BF Score: 91

 Description   

It is locking resources in mode IS for writes, when it should be using mode IX. Using a helper from db_raii will help avoid the need to choose the proper lock mode.



 Comments   
Comment by Githook User [ 04/May/18 ]

Author:

{'email': 'mark.benvenuto@mongodb.com', 'name': 'Mark Benvenuto', 'username': 'markbenvenuto'}

Message: SERVER-34791 Free Mon Fix locking
Branch: master
https://github.com/mongodb/mongo/commit/004183f093d99d6f54615eb3bb8caeb089ff47ac

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