mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 19:17:28 +01:00
restartedHolderRefresh decides only when the line it reads is this replica's at exactly the ask's addresses, and builds ExpectCurrent from that read, so a move between the tick's address check and this read yields no refresh rather than one expecting the moved line. The controller's same-ask dedupe compares the expected line: a refresh refused because an earlier refresh moved the line is asked again against the new line instead of being suppressed as a duplicate (red locally without this: TestControllerReasksARefreshRefusedAfterTheLineMoved times out waiting for the re-ask). The host-level stale-refresh test now waits for the publication path's own refusal of that ask (bounded), instead of a sleep. block-design.md's authority diagram shows the conditional refresh. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>