googleapis / googleapis/google-cloud-cpp

Treat credential errors as retryable

オープン
#10,345 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
type: feature request
主要言語
C++
スター
659
フォーク
462
平均マージ
1日 2時間
マージ済み PR(30日)
89

説明

Most credentials need to periodically fetch an access token, often via some HTTP or gRPC request. These requests can fail. These failures are **always** retryable, even for non-idempotent operations, because the request never left the application.

At this time there is no way to distinguish credential failures from RPC failures. But with the recent work to populate `ErrorInfo` for local failures we *could* start telling this failures apparent. For example, we could add a `gcloud-cpp/auth: true` metadata entry to the error info.

We would need to change all the retry loops to treat these errors as transient failures.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。