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

Aperta
#3,285 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp
Ambito
backend, databases

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
C#
Stelle
569
Fork
107
Merge medio
2h 49m
PR unite (30g)
397

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di fluentcms/FluentCMS

Tutte le issue di fluentcms/FluentCMS

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.