redelivery: older ranges get no page after a dense burst and silence

Aperta
#37 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
go
Ambito
backend

Direzione di ricerca

Read faucet/redeliver_gaps_test.go and faucet/redeliver_sim_test.go, then review the constraints in #22 and #26. The issue requires a design review before implementation; a candidate design is done only when the burst probes for both issues show silent_lost=0 and the README capacity numbers and pinned simulations are updated.

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

Descrizione

Problem

After a dense burst followed by silence, the older open ranges of the redelivery sweep get no page. When a burst holds more attempts in the 5 minute read overlap than a run has pages, every run reads the same newest pages again and opens one more range. The failures in the older ranges are not recovered. Each one ends inside a counted, logged gap once its range leaves GitHub's 72 hours, so nothing is lost silently, but nothing is recovered either.

This is item 3 of #26. #26's redesign covers the clock limits and leaves this one, because it does not come from a clock.

Evidence

TestABurstThatARunCannotReadEndsEveryFailureRecoveredOrInACountedGap in faucet/redeliver_gaps_test.go pins the current behavior. Three review rounds on #26 also ran burst-then-silence probes: they recover nothing in the older ranges and lose nothing silently.

Constraints for a fix

  • AGENTS.md rules out a selection shortcut that skips, suppresses or merges an overlap read or an open range (#22 tried two such shortcuts, and each one dropped failures silently).
  • A change to how pages are shared between the head and the ranges changes the capacity numbers in the README, and the sims in faucet/redeliver_sim_test.go pin them.
  • A fix needs a design review first, and must show silent_lost=0 in the burst probes of #22 and #26.

Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high

Lingua principale
Go
Stelle
1
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 coder/faucet

Tutte le issue di coder/faucet

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.