Github user caofangkun commented on the pull request:
https://github.com/apache/storm/pull/639#issuecomment-122203636
@tedxia
I could only find two situations ( am I right?) will change
```client.status``` to ```closed``` by call ```(.close socket)```. and do not
need reconnect at all
1: when [
reresh-connections](https://github.com/apache/storm/blob/master/storm-core/src/clj/backtype/storm/daemon/worker.clj#L314)
remove unneeded connections and wil remove connecion from ```
cached-node+port->socket ```
2: when
[shutdown](https://github.com/apache/storm/blob/master/storm-core/src/clj/backtype/storm/daemon/worker.clj#L462)
worker
Does have any situation will call ```(.close socket)``` but not removed
from ``` cached-node+port->socket ``` ?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---