Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-17779

PlanStage::work() and PlanExecutor::getNext() should provide caller direct access to error Status

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Querying
    • None
    • Query Execution

    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.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: