Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-3646

Flush only happens on executor main thread

    XMLWordPrintableJSON

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

          Activity

            People

              Unassigned Unassigned
              ethanli Ethan Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: