[SERVER-82361] Update stage swallows StorageUnavailable exception during restore and EOF Created: 21/Oct/23  Updated: 09/Nov/23  Resolved: 09/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0, 7.2.0-rc2

Type: Bug Priority: Major - P3
Reporter: Louis Williams Assignee: Jordi Serra Torrens
Resolution: Fixed Votes: 0
Labels: car-qw
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
is caused by SERVER-80859 Reshuffle UpdateStage/DeleteStage's l... Closed
Assigned Teams:
Catalog and Routing
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.2
Sprint: Sharding EMEA 2023-10-30, CAR Team 2023-11-13
Participants:
Linked BF Score: 130
Story Points: 3

 Description   

The change in SERVER-80859 made it so that if a StorageUnavailable exception is thrown during restore and the cursor is also EOF, we don't force a yield.

If the caller performs an update as part of a larger WUOW, we won't bubble up the exception, which would normally rollback the WUOW. The caller can then try to commit, which violates an assertion in WT and crashes the server.



 Comments   
Comment by Githook User [ 09/Nov/23 ]

Author:

{'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}

Message: SERVER-82361 Do not swallow StorageUnavailable if within a wuow

(cherry picked from commit 9a34542a8ca1f76efe40822005bea65855378bac)
Branch: v7.2
https://github.com/mongodb/mongo/commit/c112a6acd1d49af3caff8aaea1de69132d4eb11e

Comment by Githook User [ 08/Nov/23 ]

Author:

{'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}

Message: SERVER-82361 Do not swallow StorageUnavailable if within a wuow
Branch: master
https://github.com/mongodb/mongo/commit/9a34542a8ca1f76efe40822005bea65855378bac

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