Github user bastiliu commented on the pull request:
https://github.com/apache/storm/pull/647#issuecomment-156900352
I think it is better to raise a warning intead of stopping to update worker
heartbeat. There are some topologys that might require to block at
execute()/nextTuple() to wait some essential initialization (e.g. establish
connection to database..).
For the trigger mechanism of hanging on problem, it is a potential risk
that worker might be restart unexpectedly due to heartbeat timeout. Because we
consume a batch of tuples each time. Even through the time of processing one
tuple is short, the time of processing the batch could cause the timeout.
---
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.
---