flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zentol <...@git.apache.org>
Subject [GitHub] flink pull request #4353: [FLINK-7213] Introduce state management by Operato...
Date Tue, 25 Jul 2017 11:28:50 GMT
Github user zentol commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4353#discussion_r129274620
  
    --- Diff: flink-runtime/src/test/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinatorTest.java
---
    @@ -3631,16 +3673,16 @@ public void testSavepointsAreNotAddedToCompletedCheckpointStore()
throws Excepti
     			completedCheckpointStore.getLatestCheckpoint().getCheckpointID() == checkpointIDCounter.getLast());
     	}
     
    -	private static final class SpyInjectingOperatorState extends OperatorState {
    -
    -		private static final long serialVersionUID = -4004437428483663815L;
    -
    -		public SpyInjectingOperatorState(OperatorID taskID, int parallelism, int maxParallelism)
{
    -			super(taskID, parallelism, maxParallelism);
    -		}
    -
    -		public void putState(int subtaskIndex, OperatorSubtaskState subtaskState) {
    -			super.putState(subtaskIndex, spy(subtaskState));
    -		}
    -	}
    +//	private static final class SpyInjectingOperatorState extends OperatorState {
    --- End diff --
    
    you can remove this (which is _really_ great...)


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