You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Iliya Grushevskiy (Jira)" <ji...@apache.org> on 2021/10/15 15:39:00 UTC

[jira] [Created] (CAMEL-17090) ClusteredRoutePolicy get locked on leader change

Iliya Grushevskiy created CAMEL-17090:
-----------------------------------------

             Summary: ClusteredRoutePolicy get locked on leader change
                 Key: CAMEL-17090
                 URL: https://issues.apache.org/jira/browse/CAMEL-17090
             Project: Camel
          Issue Type: Bug
          Components: came-core
    Affects Versions: 3.x
            Reporter: Iliya Grushevskiy


ClusteredRoutePolicy will get locked forever once leader become false. The issue is that policy route stop and controller route stop are not distinguished. And stopping all routes by policy will result in view event handler remove, that in turn will result in infinite lock.

The proposed solution is to release view only once there are no routes left to manage. And acquire new view once there are.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)