henrik242 commented on code in PR #26028:
URL: https://github.com/apache/camel/pull/26028#discussion_r3916274672
##########
components/camel-master/src/main/java/org/apache/camel/component/master/MasterConsumer.java:
##########
@@ -103,6 +109,11 @@ protected void doStart() throws Exception {
protected void doStop() throws Exception {
super.doStop();
+ // a start can still be pending, cancel it first so it cannot start
the delegated consumer
+ // after this consumer has been stopped
+ leadershipTaken = false;
+ cancelLeaderTask(true);
+
if (view != null) {
view.removeEventListener(leadershipListener);
Review Comment:
both points stale; attribution line removed,and the branch is now genuinely
the two ordered commits.
--
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]