Skip to content

Commit aa016f1

Browse files
authored
KAFKA-20002: Reset-by-duration should not hand back task to state-updater (#21167)
This bug was introduced via KAFKA-18015. Reviewers: Lucas Brutschy <[email protected]>, Vincent Potuček (@Pankraz76)
1 parent 5316f43 commit aa016f1

File tree

1 file changed

+1
-3
lines changed
  • streams/src/main/java/org/apache/kafka/streams/processor/internals

1 file changed

+1
-3
lines changed

streams/src/main/java/org/apache/kafka/streams/processor/internals/TaskManager.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1793,9 +1793,7 @@ void maybeInitTaskTimeoutsOrThrow(
17931793
final long nowMs
17941794
) {
17951795
for (final TopicPartition partition : partitions) {
1796-
final Task task = getActiveTask(partition);
1797-
task.maybeInitTaskTimeoutOrThrow(nowMs, timeoutException);
1798-
stateUpdater.add(task);
1796+
getActiveTask(partition).maybeInitTaskTimeoutOrThrow(nowMs, timeoutException);
17991797
}
18001798
}
18011799

0 commit comments

Comments
 (0)