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

未關閉
#37 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
25/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
活躍
技術堆疊
go
領域
backend

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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

主要語言
Go
星號
1
分支
0
PR 合併指標
30 天內沒有已合併 PR

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

coder/faucet 的其他 Issue

查看 coder/faucet 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。