Github user aljoscha commented on a diff in the pull request:
https://github.com/apache/flink/pull/5653#discussion_r172811787
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CompletedCheckpoint.java
---
@@ -290,16 +289,14 @@ public static boolean checkpointsMatch(
Collection<CompletedCheckpoint> first,
Collection<CompletedCheckpoint> second) {
- Set<Tuple2<Long, JobID>> firstInterestingFields =
- new HashSet<>();
+ List<Tuple2<Long, JobID>> firstInterestingFields = new
ArrayList<>();
for (CompletedCheckpoint checkpoint : first) {
--- End diff --
They shouldn't be sorted, they should just have the order that they have in
ZooKeeper.
---