apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davidyan74 <...@git.apache.org>
Subject [GitHub] incubator-apex-core pull request: APEXCORE-60 Iteration support in...
Date Wed, 16 Dec 2015 01:18:06 GMT
Github user davidyan74 commented on a diff in the pull request:

    https://github.com/apache/incubator-apex-core/pull/185#discussion_r47725330
  
    --- Diff: engine/src/main/java/com/datatorrent/stram/StreamingContainerManager.java ---
    @@ -1907,6 +1920,12 @@ public void updateRecoveryCheckpoints(PTOperator operator, UpdateCheckpointsCont
         if (operator.getState() == PTOperator.State.ACTIVE && (ctx.currentTms - operator.stats.lastWindowIdChangeTms)
> operator.stats.windowProcessingTimeoutMillis) {
           // if the checkpoint is ahead, then it is not blocked but waiting for activation
(state-less recovery, at-most-once)
           if (ctx.committedWindowId.longValue() >= operator.getRecoveryCheckpoint().windowId)
{
    +        LOG.info("Marking operator {} blocked: time since last windowId change={}, timeout={},
committed windowId={}, recovery windowId={}",
    --- End diff --
    
    This is actually merely adding the logging since I think the condition warrants it.  I
can make this a warn if more appropriate.


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