googleapis / googleapis/google-cloud-node

Stream retries

オープン
#7,802 コメント 8 件 リアクション 0 件 担当者 2 名 @leahecole に割り当て済み GitHub で見る
library: google-cloud-node-core type: feature request
主要言語
TypeScript
スター
3.2k
フォーク
713
平均マージ
2日 9時間
マージ済み PR(30日)
104

説明

The NodeJS Firestore SDK currently has some logic that tries to detect whether a stream is healthy. If an error occurs before a stream has received a response message, the Firestore SDK retries its idempotent streams transparently.

I would like to explore the option of adding this retry behavior directly to GAX, which would allow us to simplify the Firestore SDK, increase the reliability for all other NodeJS SDKs and expose the same backoff behavior for all request types.

For reference, the Firestore implementation lives here: https://github.com/googleapis/nodejs-firestore/blob/master/dev/src/index.ts#L1170

A general retry mechanism for unary streams has recently been added to Python's GAX: https://github.com/googleapis/google-cloud-python/pull/10206

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

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

評価

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

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

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