[SERVER-57096] [SBE] Nested (non-lock free) AutoGets lead to invariant failure during stepdown Created: 20/May/21  Updated: 29/Oct/23  Resolved: 15/Jun/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.0-rc3, 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Mihai Andrei Assignee: David Storch
Resolution: Fixed Votes: 0
Labels: sbe-post-v1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-57722 Test-only "sbe" command must hold an ... Closed
is related to SERVER-56112 [SBE] Remove redundant oplog locking ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Sprint: Query Execution 2021-05-31, Query Execution 2021-06-14, Query Execution 2021-06-28
Participants:
Linked BF Score: 62

 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 16/Jun/21 ]

Author:

{'name': 'David Storch', 'email': 'david.storch@mongodb.com', 'username': 'dstorch'}

Message: SERVER-57096 Make SBE rely purely on the kExternal lock policy

After this patch, the AutoGet db_raii object is no longer
held by the SBE scan/ixscan stages. SBE now assumes that any
lock/snapshot acquisition is done at a higher level.

(cherry picked from commit 71cfc41653768c29c719689a949a75a0ebbaa941)
Branch: v5.0
https://github.com/mongodb/mongo/commit/10bbd8dd5a0879651f446f66bc633ae0a1966acd

Comment by Githook User [ 15/Jun/21 ]

Author:

{'name': 'David Storch', 'email': 'david.storch@mongodb.com', 'username': 'dstorch'}

Message: SERVER-57096 Make SBE rely purely on the kExternal lock policy

After this patch, the AutoGet db_raii object is no longer
held by the SBE scan/ixscan stages. SBE now assumes that any
lock/snapshot acquisition is done at a higher level.
Branch: master
https://github.com/mongodb/mongo/commit/71cfc41653768c29c719689a949a75a0ebbaa941

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