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

    https://github.com/apache/incubator-apex-core/pull/194#discussion_r50607181
  
    --- Diff: 
engine/src/main/java/com/datatorrent/stram/StreamingContainerManager.java ---
    @@ -1695,6 +1607,42 @@ public void run()
                 }
                 endWindowStatsMap.put(shb.getNodeId(), endWindowStats);
     
    +            if (!oper.getInputs().isEmpty()) {
    +              long latency = Long.MAX_VALUE;
    --- End diff --
    
    @davidyan74 : Do we need to care about following scenario
    Operator C has two upstream A and B. Current latency of A > B and based on 
that C adds A as it's slowest upstream but then B's stats come and now latency 
of B > A but C is still pointing A as it's slowest upstream...


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