Honor the wait-util header for 429 responses

Aperta
#291 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
api, backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
6
Fork
1
Merge medio
21h 16m
PR unite (30g)
29

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di confluentinc/confluent-sql

Tutte le issue di confluentinc/confluent-sql

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.