[SERVER-24121] Client Spinlock should not be held while calling lock manager Created: 10/May/16  Updated: 07/Sep/17  Resolved: 17/May/16

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 3.3.5
Fix Version/s: 3.2.13, 3.3.8

Type: Bug Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: bkp
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-24123 should check that no mutex/spinlock i... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.2
Sprint: Platforms 14 (05/13/16), Platforms 15 (06/03/16)
Participants:
Linked BF Score: 0

 Description   

The client SpinLock is being taken here:
https://github.com/mongodb/mongo/blob/ee5fbdd8540d93d2e0d6fa19ba9a5595bb1829cb/src/mongo/db/db_raii.cpp#L144

But it is still held while calling the lock manager here:
https://github.com/mongodb/mongo/blob/ee5fbdd8540d93d2e0d6fa19ba9a5595bb1829cb/src/mongo/db/db_raii.cpp#L148



 Comments   
Comment by Githook User [ 02/Feb/17 ]

Author:

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

Message: SERVER-24121 Client Spinlock should not be held while calling lock manager

(cherry picked from commit 42fa071dfbefaa47146cc33764ae078e25057aa9)
Branch: v3.2
https://github.com/mongodb/mongo/commit/acfa77f6d52b3def900375242fbb520bbbc0f042

Comment by Githook User [ 17/May/16 ]

Author:

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

Message: SERVER-24121 Client Spinlock should not be held while calling lock manager
Branch: master
https://github.com/mongodb/mongo/commit/42fa071dfbefaa47146cc33764ae078e25057aa9

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