Skip to content

Commit

Permalink
[FLINK-22545][tests] Fix delayed split assignment in OperatorEventSen…
Browse files Browse the repository at this point in the history
…dingCheckpointITCase
  • Loading branch information
StephanEwen committed Aug 17, 2021
1 parent 650d463 commit d081d9a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,10 @@ public Collection<SplitT> snapshotState(long checkpointId) throws Exception {

private void fullFillPendingRequests() {
for (int subtask : pendingRequests) {
// respond only to requests for which we still have registered readers
if (!context.registeredReaders().containsKey(subtask)) {
continue;
}
super.handleSplitRequest(subtask, null);
}
pendingRequests.clear();
Expand Down

0 comments on commit d081d9a

Please sign in to comment.