gaoyunhaii commented on a change in pull request #17:
URL: https://github.com/apache/flink-ml/pull/17#discussion_r731782006
##########
File path:
flink-ml-iteration/src/main/java/org/apache/flink/ml/iteration/operator/coordinator/HeadOperatorCoordinator.java
##########
@@ -63,10 +63,16 @@ public void subtaskReady(int i, SubtaskGateway
subtaskGateway) {
}
@Override
- public void resetToCheckpoint(long l, @Nullable byte[] bytes) {}
+ public void resetToCheckpoint(long l, @Nullable byte[] bytes) {
+ for (int i = 0; i < context.currentParallelism(); ++i) {
Review comment:
We should indeed remove the for loop...
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]