mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
b935d0a73bbca76ebcce3c85b88c52f89a234528
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>
Languages
Go
84.5%
Rust
7.9%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%