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

Aberta
#37 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
25/100
Tipo de issue
Bug
Clareza
Precisa de esclarecimento
Status de atividade
Ativa
Stack de tecnologia
go
Domínio
backend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
Go
Estrelas
1
Forks
0
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de coder/faucet

Todas as issues de coder/faucet

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.