Simplify PlanExecutorImpl::restoreStateWithoutRetrying API

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • QE 2025-08-04, QE 2025-08-18
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The method PlanExecutorImpl::restoreStateWithoutRetrying currently receives 2 input parameters, a RestoreContext and a Yieldable* input parameter.
      In all cases, the yieldable parameter is either a pointer to a CollectionPtr (which is derived from Yieldable) or a nullptr.
      However, a RestoreContext also contains a CollectionPtr* member, so passing the CollectionPtr via the RestoreContext and the separate Yieldable* arguments seems redundant.
      The restoreWithoutRetrying method API could be simplified so that we do not need to pass a separate Yieldable* pointer into it, but simply retrieve the CollectionPtr from its RestoreContext argument.

              Assignee:
              Felipe Goron Farinon
              Reporter:
              Jan Steemann
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: