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

Make the Circuit Breaker EIP more robust - in state halfOpen let only one thread to perform a try

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.14.0
    • 2.19.0
    • camel-core
    • None
    • Advanced

    Description

      when halfOpen is reached, (System.currentTimeMillis() - lastFailure < halfOpenAfter) there is no restriction on the number of calls (threads) that will perform a retry.

      When retry timeout is reached, we should let only 1 thread go in "halfOpen" mode, all other should be kept in "open" state until an halfOpen succeed.

      Attachments

        Issue Links

          Activity

            People

              njiang Willem Jiang
              yvesdm Yves De Moor
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified