You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/01/26 12:38:10 UTC

[GitHub] [camel] davsclaus commented on a change in pull request #6830: [Camel-6097] Fixes a race condition in AggregateProcessor (camel-core-processor)

davsclaus commented on a change in pull request #6830:
URL: https://github.com/apache/camel/pull/6830#discussion_r792594177



##########
File path: core/camel-core-processor/src/main/java/org/apache/camel/processor/aggregate/AggregateProcessor.java
##########
@@ -1456,7 +1458,8 @@ public void run() {
                     lock.unlock();
                 }
             }
-
+            recoveryInProgress.set(false);

Review comment:
       Can you move them into the finally block as if an exception was thrown then they are not called




-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org