External refresh edge cases: capture failure and lease after error

Đang mở
#2,696 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
42/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ệ
rust
Lĩnh vực
backend

Hướng nghiên cứu

Start by reading the implementation and tests for Record writes, capture failure handling, claim_plan, and batch refresh attempts; the issue does not name their files. Trace how a failed capture affects reconciliation, how errors release a plan lease, and whether one failing target blocks its batch. Done means each edge case has defined behavior and regression coverage; the desired behavior is not specified here.

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

Mô tả

  • When capture fails inside a Record write, BReg rolls back to the savepoint, logs a warning and commits the write. It does not mark the plan for reconciliation, so a changed link key waits a full interval.
  • An error after claim_plan holds the plan lease until it expires.
  • A target that always fails fails its whole batch, up to the attempts ceiling.

All three are low severity. The last two may predate the in-process worker.

Deferred from #2693.

Ngôn ngữ chính
Rust
Star
2
Fork
0
Merge trung bình
9 giờ 48 phút
Pull request đã merge (30 ngày)
151

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

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 registrystack/registry-stack

Tất cả issue của registrystack/registry-stack

Issue tương tự

Thêm issue về Rust

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.