kernel-memory
kernel-memory copied to clipboard
[Bug] The circuit is now open and is not allowing calls error
Context / Scenario
We are importing some documents from an Azure Function.
What happened?
We are getting this error sometimes for some of them
The circuit is now open and is not allowing calls
Reviewing code it looks like it's from this piece of code from KM
IList<ReadOnlyMemory
Importance
edge case
Platform, Language, Versions
Windows, C#, last version of KM
Relevant log output
Polly.CircuitBreaker.BrokenCircuitException:
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at Microsoft.Extensions.Http.Resilience.Internal.ResilienceHandler+<SendAsync>d__2.MoveNext (Microsoft.Extensions.Http.Resilience, Version=8.0.0.0, Culture=neutral,