Skip to content

Commit 01b8fca

Browse files
committed
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 ed425ba commit 01b8fca

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
@@ -1884,9 +1884,7 @@ void maybeInitTaskTimeoutsOrThrow(
18841884
final long nowMs
18851885
) {
18861886
for (final TopicPartition partition : partitions) {
1887-
final Task task = getActiveTask(partition);
1888-
task.maybeInitTaskTimeoutOrThrow(nowMs, timeoutException);
1889-
stateUpdater.add(task);
1887+
getActiveTask(partition).maybeInitTaskTimeoutOrThrow(nowMs, timeoutException);
18901888
}
18911889
}
18921890

0 commit comments

Comments
 (0)