Github user tedxia commented on the pull request:

    https://github.com/apache/storm/pull/268#issuecomment-64768289
  
    @clockfly connect and send are all synchronized, this may also cause block. 
Think about this:
    
    1. Worker A send message to B and C, but B had been crashed, so we start 
reconnect in scheduler(this will not schedule until send finished), send data 
to C;
    2. Worker A start reconnect to B, this will use a lot of time;
    3. Worker A send message to B again, this will block until reconnect to B 
finish, this will also block send message to other worker; 
    
    
    
    ##### The biggest problem for this is we got sleep in connect, this will 
cause long time competition, I will try to fix this.


---
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.
---

Reply via email to