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)

Reply via email to