Keep a stored record of catalog changes the pipeline gives up on, and alert on them

Aperta
#252 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à
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Read issue #220 and trace the pipeline code that retries and drains catalog changes, including the existing attempt cap and bad data handling. Identify the migration numbering convention and the relevant tests; the issue names no files or entry points. Done means a drained change is stored with its reason and can be replayed, with an alert when stored rows appear; the retry policy and treatment of other data-shape errors also need decisions.

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

Descrizione

enhancement migration queue: scale readiness (M3)

Follow-up to #220.

After #220's fix, a catalog change that fails with an unexpected error is retried, but only up to the existing cap (5 attempts, 15 s apart). After that — or immediately for malformed data — it is still discarded with only a log line. A database outage longer than roughly a minute would therefore still lose changes.

Task

  • A table for given-up changes (needs a migration number reserved), written when a change is drained for bad data or at the attempt cap, with the reason
  • A way to replay them
  • An alert when rows appear
  • Reconsider the cap: age-based or longer once a stored record exists
  • Decide whether other data-shape errors (e.g. TypeError/AttributeError from an odd item) should count as bad data and drain immediately

Acceptance criteria

  • Test: a change drained at the cap lands in the table and can be replayed
Lingua principale
Python
Stelle
0
Fork
2
Merge medio
8h 26m
PR unite (30g)
47

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 TechTraverse/stac-higher

Tutte le issue di TechTraverse/stac-higher

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.