Github user HeartSaVioR commented on a diff in the pull request:

    https://github.com/apache/storm/pull/521#discussion_r30198050
  
    --- Diff: storm-core/src/clj/backtype/storm/daemon/worker.clj ---
    @@ -139,12 +139,12 @@
                       (.add local pair) 
     
                       ;;Using java objects directly to avoid performance 
issues in java code
    -                  (let [node+port (get @task->node+port task)]
    -                    (when (not (.get remoteMap node+port))
    -                      (.put remoteMap node+port (ArrayList.)))
    -                    (let [remote (.get remoteMap node+port)]
    +                  (let []
    +                    (when (not (.get remoteMap task))
    +                      (.put remoteMap task (ArrayList.)))
    +                    (let [remote (.get remoteMap task)]
                           (.add remote (TaskMessage. task (.serialize 
serializer tuple)))
    -                     )))) 
    +                    ))))
    --- End diff --
    
    @d2r 
    Maybe I misunderstood your comment.
    Seems like I grouped tuples by task, not node+port. It should be grouped 
again from mk-transfer-tuples-handler.
    I'll fix it. Maybe TransferDrainer can help this, so please forget about 
last comment.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to