Allow a result that indicates the reconciliation is incomplete and does not trigger the exponential backoff logic
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ó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 30/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- go
- Lĩnh vực
- backend-api-design
Hướng nghiên cứu
Bắt đầu bằng cách đọc pkg/internal/controller/controller.go quanh các dòng 214-235, đặc biệt là cách RequeueAfter, Requeue và các lỗi ảnh hưởng đến việc đưa vào hàng đợi. Theo dõi việc xử lý kết quả và luồng reconciliation xung quanh để xác định nơi một kết quả chưa hoàn tất có thể tránh việc đưa lại vào hàng đợi trong khi các watches kích hoạt các requests trong tương lai. Được xem là hoàn tất khi hành vi đối với một reconciliation chưa hoàn tất mà không có Requeue tường minh hoặc theo cấp số nhân được xác định và có kiểm thử bao phủ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
After discussing this with @detiber, we realized there's no good solution for the following case:
- A request is received
- The request cannot proceed because of a missing dependency on resource A
- The reconciler is watching events for resource A
- The reconciler returns a result that indicates the reconciliation is incomplete due to reason X, but the request should not be requeued
Instead the current logic is:
- A reconciler is using one or more watches to trigger requests
- A request cannot proceed due to a missing dependency
- If
result.RequeueAfter > 0then the request is added to the queue for processing after the value specified byresult.RequeueAfter - If
result.Requeueistruethen the request is added to the queue with the same exponential backoff logic used when an error is returned - If an error is returned then the request is added to the queue with the exponential backoff logic
Today there is currently no way to indicate a reconciliation is incomplete without also having the request requeued by the manager either via an explicit amount of time or the exponential backoff logic (due to error or Requeue == true).
There should be a way to signal:
- The reconciliation is incomplete
- Do not requeue, the reconciler is watching the resources necessary to trigger its own events
Thanks!
- Ngôn ngữ chính
- Go
- Star
- 3k
- Fork
- 1.3k
- Merge trung bình
- 1 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 48
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của kubernetes-sigs/controller-runtime
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
kubernetes-sigs/controller-runtime#3704 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
lifecycle/rotten
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
kubernetes-sigs/controller-runtime#3537 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Read-your-writes consistency is not applied to unstructured objects written with Update or PatchCó thể đã có người làm @7616e5a9c573ffb221843a498885ab0f đã nhận 1 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 25/100
kubernetes-sigs/controller-runtime#3702 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Client and DynamicRESTMapper keep a kind's old scope after its CRD is recreated with a different `scope`Có thể đã có người làm @AdamMagued đã nhận 1 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
kubernetes-sigs/controller-runtime#3671 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ReadYourWrite doesn't correctly deal with mutating requests removing the last finalizerCó thể đã có người làm @AdamMagued đã nhận 1 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 28/100
kubernetes-sigs/controller-runtime#3670 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của kubernetes-sigs/controller-runtime
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
OneBusAway/watchdog#470 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: session
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
charmbracelet/crush#4484 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Resource]: HearthĐang mởresource-submission validation-passed
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
hesreallyhim/awesome-claude-code#3713 · 1 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
expr-lang/expr#1037 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Provider Key: Sauberr/neckrezĐang mởprovider-key submission
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
opentofu/registry#6740 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày