Claus Ibsen created CAMEL-25001:
-----------------------------------
Summary: camel-core - Supervising route controller: an exhausted
route stays unhealthy after it is started manually
Key: CAMEL-25001
URL: https://issues.apache.org/jira/browse/CAMEL-25001
Project: Camel
Issue Type: Bug
Components: camel-core
Reporter: Claus Ibsen
A route whose restart attempts are exhausted stays exhausted, and unhealthy,
after it is started manually.
When the supervising route controller cannot start a route and its back-off
attempts are exhausted, the route is kept as exhausted (getExhaustedRoutes).
With unhealthyOnExhausted=true, hasUnhealthyRoutes() then reports the
application as unhealthy, as intended. But when the route was then started
manually (for example through JMX or the route controller, once the cause was
fixed), it was not removed from the exhausted routes. So it was still reported
as exhausted, and the application stayed unhealthy (for example a readiness
probe stayed DOWN), although the route was started.
A manual start or stop takes the route over from the supervisor and already
cancels a pending restart and clears the last restart exception; it now also
removes the route from the exhausted routes.
_Claude Code on behalf of Claus Ibsen_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)