Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Abandoned
-
None
-
None
-
None
-
None
Description
Flush only happens on executor main thread.
https://github.com/apache/storm/blob/v2.1.0/storm-client/src/jvm/org/apache/storm/executor/ExecutorTransfer.java#L70-L74
If topologies have their own threads within bolts, and when
topology.producer.batch.size topology.transfer.batch.size
are larger than 1, some tuples will be batched and possible never be sent to downstream.
The default value for them is 1. So it is fine when the configs are not explicitly changed.
Attachments
Issue Links
- relates to
-
STORM-3620 Data corruption can happen when components are multi-threaded because of non thread-safe serializer
- Closed