Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-46660

ReattachExecute requests do not refresh aliveness of SessionHolder

    XMLWordPrintableJSON

Details

    Description

      In the first executePlan request, creating the ExecuteHolder triggers  getOrCreateIsolatedSession which refreshes the aliveness of SessionHolder. However in ReattachExecute , we fetch the ExecuteHolder directly without going through the SessionHolder (and hence making it seem like the SessionHolder is idle).

       

      This would result in long-running queries (which do not send release execute requests since that refreshes aliveness) failing because the SessionHolder would expire during active query execution.

      Attachments

        Issue Links

          Activity

            People

              vicennial Venkata Sai Akhil Gudesa
              vicennial Venkata Sai Akhil Gudesa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: