Honor the wait-util header for 429 responses

Đang mở
#291 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
api, backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
6
Fork
1
Merge trung bình
21 giờ 16 phút
Pull request đã merge (30 ngày)
29

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của confluentinc/confluent-sql

Tất cả issue của confluentinc/confluent-sql

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.