[SERVER-17779] PlanStage::work() and PlanExecutor::getNext() should provide caller direct access to error Status Created: 27/Mar/15  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: J Rassi Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Execution
Participants:

 Description   

Callers of PlanStage::work() and PlanExecutor::getNext() are currently required to use WorkingSetCommon methods isValidStatusMemberObject() and getMemberStatus() in the case of error, in order to extract the error Status object.

To reduce required caller boilerplate, the signature of these methods should change to directly present a Status to the caller. The notion of "status member objects" should also be removed entirely.


Generated at Thu Feb 08 03:45:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.