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

Abierto
#37 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
go
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Go
Estrellas
1
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de coder/faucet

Todos los issues de coder/faucet

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.