Azure / Azure/azure-sdk-for-java

Retrying errors that can never succeed

Aperta
#44,926 3 commenti 0 reazioni 1 assegnatario Assegnata a @g2vinay Vedi su GitHub
Azure.Identity bug customer-reported needs-team-attention
Lingua principale
Java
Stelle
2.6k
Fork
2.2k
Merge medio
2g 2h
PR unite (30g)
205

Descrizione

> Looking into this, passing in the custom Exponential Backoff class is the better approach as mentioned above.
>
>
>
> As, at SDK level the azure-core SDK isn't aware of exceptions thrown by dependencies/libraries downstream.
>
> Handling custom exceptions from other libraries in azure-core will require it to take dependency on external libraries and it will be against its design.
>
>
>
> Resolving this issue.

_Originally posted by @g2vinay in [#35668](https://github.com/Azure/azure-sdk-for-java/issues/35668#issuecomment-2008086900)_

If not the core sdk then the individual dependencies like the key vault client should have their retry policies enriched with these custom errors that come from azure. I don't think it's the user who should be aware of all of these and provide a manual override as no-one want's a hanging application.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.