[SERVER-48550] Range deletion code should allow exceptions from PlanExecutor::getNext to bubble up to the retry loop instead of swallowing them Created: 02/Jun/20  Updated: 29/Oct/23  Resolved: 02/Jun/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.4.0-rc9, 4.7.0

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

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4
Sprint: Sharding 2020-06-15
Participants:
Linked BF Score: 45

 Description   

Before SERVER-43821, the query code would sometimes return PlanExecutor::FAILURE and sometimes throw an exception.

The range deletion code was handling exceptions correctly (they would bubble up to this AsyncTry/Until), but was swallowing PlanExecutor::FAILURE

SERVER-43821 made the query code always throw exceptions and the range deletion code always swallow them, but we should make the range deletion code actually always allow them to bubble up to the AsyncTry/Until.

Marking as backport requested to 4.4 to fix the similar bug with swallowing PlanExecutor::FAILURE on 4.4.



 Comments   
Comment by Githook User [ 05/Jun/20 ]

Author:

{'name': 'Esha Maharishi', 'email': 'esha.maharishi@mongodb.com', 'username': 'EshaMaharishi'}

Message: SERVER-48550 Range deletion code should allow exceptions from PlanExecutor::getNext to bubble up to the retry loop instead of swallowing them
Branch: v4.4
https://github.com/mongodb/mongo/commit/e04a9896ee545cdf4248b8bfc2d92421ab3b6f85

Comment by Githook User [ 02/Jun/20 ]

Author:

{'name': 'Esha Maharishi', 'email': 'esha.maharishi@mongodb.com', 'username': 'EshaMaharishi'}

Message: SERVER-48550 Range deletion code should allow exceptions from PlanExecutor::getNext to bubble up to the retry loop instead of swallowing them
Branch: master
https://github.com/mongodb/mongo/commit/79406a208468bb9a255f06de2574145d20560f51

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