diff options
author | Marcelo Vanzin <vanzin@cloudera.com> | 2015-11-23 13:51:43 -0800 |
---|---|---|
committer | Marcelo Vanzin <vanzin@cloudera.com> | 2015-11-23 13:51:43 -0800 |
commit | 7cfa4c6bc36d97e459d4adee7b03d537d63c337e (patch) | |
tree | 93c9db79e4857ade4d542515e6050a39c132bdc3 /sbt | |
parent | 242be7daed9b01d19794bb2cf1ac421fe5ab7262 (diff) | |
download | spark-7cfa4c6bc36d97e459d4adee7b03d537d63c337e.tar.gz spark-7cfa4c6bc36d97e459d4adee7b03d537d63c337e.tar.bz2 spark-7cfa4c6bc36d97e459d4adee7b03d537d63c337e.zip |
[SPARK-11865][NETWORK] Avoid returning inactive client in TransportClientFactory.
There's a very narrow race here where it would be possible for the timeout handler
to close a channel after the client factory verified that the channel was still
active. This change makes sure the client is marked as being recently in use so
that the timeout handler does not close it until a new timeout cycle elapses.
Author: Marcelo Vanzin <vanzin@cloudera.com>
Closes #9853 from vanzin/SPARK-11865.
Diffstat (limited to 'sbt')
0 files changed, 0 insertions, 0 deletions