Honor the wait-util header for 429 responses

オープン
#291 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
api, backend

調査の方向性

Start by locating the existing 429 handling and the client code paths that make backend requests; the issue does not name specific files or tests. Check which paths honor server-provided wait-until headers, then run the relevant client tests and verify that retries use the supplied delay and eventually stop after repeated failures.

索引モデルが issue の本文から書いたものです。

説明

The ticket is coming out of some test parallelization work on the dbt-side, where running the functional tests w/ a high worker count (between 10 and 16, sorry I don't have the exact number) would see dbt build failures due to 429 errors from the backend. Ideally, the client would throttle itself and still be able to complete a dbt build.

We should ensure we're handling 429's in all cases (we have some handling in the repo today, and I haven't yet verified it's effective on all applicable code paths) and make sure the. Furthermore our backoff should be informed by any wait-until headers or other information the server provides.

Obviously at some point we'll need to give up, so I don't expect to solve all conceivable failures in a dbt build due to 429's. So this is a bit of an audit-and-improve ticket.

主要言語
Python
スター
6
フォーク
1
平均マージ
21時間 16分
マージ済み PR(30日)
29

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

confluentinc/confluent-sql のほかの issue

confluentinc/confluent-sql の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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