mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
8358968fd7df337666fee802977789519008ef00
Strict journal isolation refuses new work, never an issued decision. MoveWorkspace now asks the publisher, read-only, whether a request is an exact replay of an issued move (same id, same validated body) before the co-location guard; a replay gets its durable grant back, a new id or a changed body is still refused. PlaceWorkspace keeps the idempotent result of repeating the recorded placement. The master samples its authority store's file system after Bootstrap has created the directory, so a first start detects co-located nodes too. The heartbeat serving exemption reads the committed authority lines from the lease views (leaseMu only), with the issued move's target host derived there, instead of taking the publisher lock held across authority writes. The headroom alarm fires at the latest with the first clamped grant of a streak, logged before the clamp line. The per-minute summary is flushed by the first renewal attempt after the minute, granted or refused. The status endpoint bounds read, write and idle time, and Close force-closes connections a timed-out graceful shutdown leaves open. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.6%
Rust
7.8%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%