Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17090

ClusteredRoutePolicy get locked on leader change

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.x
    • 3.13.0
    • came-core
    • None
    • Unknown

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              iliya.gr Iliya Grushevskiy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: