[SERVER-53427] Infrastructure changes to support nested LFR operations Created: 17/Dec/20  Updated: 29/Oct/23  Resolved: 19/Dec/20

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

Type: Task Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Dianna Hohensee (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-12-28
Participants:

 Comments   
Comment by Githook User [ 18/Dec/20 ]

Author:

{'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}

Message: SERVER-53427 Infrastructure changes to support nested LFR operations

1) Create a nested lock helper to run lock-free if a higher level lock-free operation is already running.
2) Change LockFreeReadsBlock to use a counter rather than a boolean to accommodate out of order lock helper destructors.
3) Only yield lock-free read state in query yield when NOT recursively locked.
4) Change query stages and plan executor to use new nested lock-free lock helper.
Branch: master
https://github.com/mongodb/mongo/commit/bd06aabdb67dca10663b7d48fff47e12c5925ac6

Comment by Dianna Hohensee (Inactive) [ 17/Dec/20 ]

Code review url: https://mongodbcr.appspot.com/753840001/

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