pnowojski commented on a change in pull request #10542: [FLINK-12484][runtime] 
move checkpoint lock to source task
URL: https://github.com/apache/flink/pull/10542#discussion_r376314022
 
 

 ##########
 File path: 
flink-streaming-java/src/test/java/org/apache/flink/streaming/util/MockStreamTask.java
 ##########
 @@ -104,7 +104,11 @@ public String getName() {
                return name;
        }
 
-       @Override
+       /**
+        * Checkpoint lock in {@link StreamTask} is replaced by {@link 
StreamTaskActionExecutor}.
+        * <code>getCheckpointLock</code> method was moved from to the {@link 
org.apache.flink.streaming.runtime.tasks.SourceStreamTask SourceStreamTask}.
+        */
+       @Deprecated
 
 Review comment:
   Do we need this method? It's a bit strange that it was removed from the 
production class, but mock still needs it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to