You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "dzcxzl (JIRA)" <ji...@apache.org> on 2019/03/10 15:52:00 UTC
[jira] [Updated] (SPARK-27073) Fix a race condition when handling
of IdleStateEvent
[ https://issues.apache.org/jira/browse/SPARK-27073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
dzcxzl updated SPARK-27073:
---------------------------
Summary: Fix a race condition when handling of IdleStateEvent (was: Handling of IdleStateEvent causes the normal connection to close)
> Fix a race condition when handling of IdleStateEvent
> ----------------------------------------------------
>
> Key: SPARK-27073
> URL: https://issues.apache.org/jira/browse/SPARK-27073
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 2.0.0, 2.4.0
> Reporter: dzcxzl
> Priority: Minor
>
> When TransportChannelHandler processes IdleStateEvent, it first calculates whether the last request time has timed out.
> At this time, TransportClient.sendRpc initiates a request.
> TransportChannelHandler gets responseHandler.numOutstandingRequests() > 0, causing the normal connection to be closed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org