Dead-lettered jobs and failed outbox rows are kept forever without indexes

Đang mở
#3,285 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
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
backend, databases

Hướng nghiên cứu

Start with JobRunnerOptions.cs:46 and OutboxOptions.FailedRetention, then trace the admin list queries and existing database index definitions for jobs and failed outbox rows. Check how retention and filtered indexes are configured in the project. Done means both row types are pruned by default and both admin lists can use the requested indexes.

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

Mô tả

area:events area:jobs performance type:bug

Problem

Dead-lettered jobs are never removed (JobRunnerOptions.cs:46) and failed outbox rows have no retention by default (OutboxOptions.FailedRetention), with full payloads. Their admin lists sort and page over every such row: jobs by completed_at with only a (status, lease_until) index, failed outbox rows with no index.

Proposal

Opt-out retention defaults (for example 30 to 90 days) for both; an index on jobs (status, completed_at) and a filtered index on failed outbox rows.

Acceptance

  • Both are pruned by default and their lists use an index

Found in the code review of 17 Nov 2026 (P6).

Ngôn ngữ chính
C#
Star
569
Fork
107
Merge trung bình
2 giờ 49 phút
Pull request đã merge (30 ngày)
397

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 fluentcms/FluentCMS

Tất cả issue của fluentcms/FluentCMS

Issue tương tự

Thêm issue về C#

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.