DB Tsai created SPARK-62192:
-------------------------------

             Summary: Isolate native Spark Connect query and session cleanup
                 Key: SPARK-62192
                 URL: https://issues.apache.org/jira/browse/SPARK-62192
             Project: Spark
          Issue Type: Bug
          Components: Connect
    Affects Versions: connect-rust-4.4.0
            Reporter: DB Tsai


A query or session owner that waits in Java close can block the shared native 
cleanup worker. Independent owners then retain resources and permits while 
waiting for that same worker.

Dispatch query and session cleanup independently while preserving ownership, 
retry and drain semantics. The task cleanup lane remains shared. Document the 
thread and attachment cost and validate cleanup isolation, failed dispatch and 
repeated close.

PR: https://github.com/apache/spark-connect-rust/pull/902

This pull request and its description were written by OpenAI Codex.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to