Venkata Sai Akhil Gudesa created SPARK-46660:
------------------------------------------------

             Summary: ReattachExecute requests do not refresh aliveness of 
SessionHolder
                 Key: SPARK-46660
                 URL: https://issues.apache.org/jira/browse/SPARK-46660
             Project: Spark
          Issue Type: Bug
          Components: Connect
    Affects Versions: 4.0.0
            Reporter: Venkata Sai Akhil Gudesa


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to