mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
Priming and the adapter lookup were keyed by ReplicaID. A dispatch the loop admitted for an old degraded peer, delayed while a lineage bump replaced the peer under the same ReplicaID, then primed the new healthy peer's adapter, whose probe raced the volume's live session again. The registry now keeps the exact peer each adapter was added for; PrimePendingFor and AdapterForPeer compare it under the registry lock, and a mismatch primes nothing and sends no wire probe. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>