cadonna commented on code in PR #15852:
URL: https://github.com/apache/kafka/pull/15852#discussion_r1589452435
##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/DefaultStateUpdater.java:
##########
@@ -496,6 +504,103 @@ private void addTask(final Task task) {
}
}
+ private void removeTask(final TaskId taskId, final
CompletableFuture<RemovedTaskResult> future) {
+ try {
+ if (updatingTasks.containsKey(taskId)) {
+ removeUpdatingTask(taskId, future);
Review Comment:
Done! Code looks better now. Thanks a lot!
--
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]