Files
seaweedfs/seaweed-block/core/lifecycle
pingqiuandClaude Opus 5.5 ec40814443 master: validate a move target's endpoints; log a refusal outside the lock
Fold of the #260 review:
- the target endpoints get the binding endpoint rules before admission
  (host:port, numeric port 1..65535, data and ctrl distinct), without
  registering anything: a host match alone admitted ':0', ':65536', a
  non-numeric or empty port, or identical data and ctrl, and the move
  would have issued and cleared the source lease;
- host parts compare in canonical form (equivalent IP spellings);
- the refusal log runs after workspaceMu is released;
- the comment no longer calls the host match a proof; the invariants
  ledger gets the move-admission row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 05:34:16 -08:00
..