googleapis / googleapis/google-api-java-client-services

Require retry support for 503 service unavailable errors while uploading files to Cloud storage

未關閉
#5,463 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

priority: p4 type: feature request
主要語言
Java
星號
725
分支
394
平均合併
42 分鐘
30 天內合併 PR
257

描述

We have been using the google-api-services-storage library for client-side integration for our customers. Off late, a few customers are reporting consistent "503 service unavailable" errors during upload to Cloud storage. We had a look at the library code and don't see any retry mechanism/exponential backoff as part of the library, but the underlying google-java-http-client library has. Is there any possibility of enhancing the storage library to expose retries?

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

首先追蹤產生的儲存用戶端之檔案上傳進入點,並將其與 google-java-http-client 中的重試功能進行比較。釐清應如何公開及設定重試行為,然後驗證暫時性的 503 上傳失敗是否會透過指數退避進行重試。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
google-cloud, java
領域
api, cloud
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。