Skip to content

Commit

Permalink
[hotfix] Do not track completed checkpoint ids without incremental ch…
Browse files Browse the repository at this point in the history
…eckpointing
  • Loading branch information
StefanRRichter committed Feb 25, 2018
1 parent 2b55ffb commit 7b5c53f
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,13 @@ public void restore(Collection<KeyedStateHandle> restoreState) throws Exception

@Override
public void notifyCheckpointComplete(long completedCheckpointId) {

if (!enableIncrementalCheckpointing) {
return;
}

synchronized (materializedSstFiles) {

if (completedCheckpointId < lastCompletedCheckpointId) {
return;
}
Expand Down

0 comments on commit 7b5c53f

Please sign in to comment.