close
The Wayback Machine - https://web.archive.org/web/20200911170808/https://github.com/topics/circuit-breaker
Skip to content
#

circuit-breaker

Here are 284 public repositories matching this topic...

John-Chan
John-Chan commented Aug 30, 2020

Issue Description

Type: bug report

NettyTransportClient.getCurrentId

    private int getCurrentId() {
        if (idGenerator.get() > MAX_ID) {
            idGenerator.set(0);
        }
        return idGenerator.incrementAndGet();
    }

个人理解这个ID应该是用于协议纠错,getCurrentId的目的是为了循环产生ID,且在循环周期内不重复,即生成ID为1,2,3 ... -> MAX -> 1,2,3 ...

Describe what happe

Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. From version 6.0.1, Polly targets .NET Standard 1.1 and 2.0+.

  • Updated May 2, 2020
  • C#
jkonicki
jkonicki commented Aug 20, 2020

Problem Summary:

  • There was a change to Steeltoe quite some time ago to comply with the Spring spec for returning HTTP 503 in cases of HealthStatus.DOWN or HealthStatus.OUT_OF_SERVICE.

  • For 500 series errors, however, HWC is configured by default to substitute a canned message for the http response content - so, instead of getting back any failed health checks, the monitor just gets a 503 w

Improve this page

Add a description, image, and links to the circuit-breaker topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the circuit-breaker topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.