Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8289

CircuitBreakerFailoverFeature does not work together with RetryStrategy (only one single endpoint available)

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.3.6
    • Fix Version/s: None
    • Component/s: Clustering
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      The retry strategy allows to retry from the same endpoint. I would like to combine this with the CircuitBreakerFailoverFeature. Unfortunately this does not work as expected because in case an error happens with one endpoints it will retry the same endpoint threshold times without any waiting in between and afterwards will mark the endpoint as not available and give up.

      In the case that only one endpoint is available it should instead retry threshold times without waiting and afterwards try again the same endpoint after waiting timeout. That should be repeated as often as maxNumberOfRetries given in the underlying RetryStrategy

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kwin Konrad Windszus

              Dates

              • Created:
                Updated:

                Issue deployment