apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gauravgopi123 <...@git.apache.org>
Subject [GitHub] incubator-apex-core pull request: APEXCORE-201 changed the way lat...
Date Fri, 22 Jan 2016 23:56:27 GMT
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message