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

Offen
#3,285 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
csharp
Bereich
backend, databases

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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).

Vorherrschende Sprache
C#
Sterne
569
Forks
107
Ø Merge
2 Std. 49 Min.
Gemergte PRs (30 T.)
397

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus fluentcms/FluentCMS

Alle Issues in fluentcms/FluentCMS

Ähnliche Issues

Weitere Issues zu C#

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.