[
https://issues.apache.org/jira/browse/SPARK-59253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-59253:
-----------------------------------
Labels: pull-request-available (was: )
> Fix direct dispatcher interrupt race
> ------------------------------------
>
> Key: SPARK-59253
> URL: https://issues.apache.org/jira/browse/SPARK-59253
> Project: Spark
> Issue Type: Sub-task
> Components: UDF
> Affects Versions: 4.4.0
> Reporter: Haiyang Sun
> Priority: Major
> Labels: pull-request-available
>
> Capture and clear an interrupt that races with lifecycle notification in
> `DirectWorkerDispatcher.awaitInFlightOperations()`.
> The interrupt is checked after leaving the `lifecycleLock.synchronized` block.
> `Thread.interrupted()` is evaluated first so the interrupt flag is always
> cleared. `close()` restores the interrupt after cleanup completes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]