External refresh edge cases: capture failure and lease after error

Aperta
#2,696 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
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
backend

Direzione di ricerca

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.

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

Descrizione

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

Lingua principale
Rust
Stelle
2
Fork
0
Merge medio
9h 48m
PR unite (30g)
151

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

Tutte le issue di registrystack/registry-stack

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.