Files
seaweedfs/seaweed-block/core/storeident
pingqiuandClaude Opus 5.5 13cc62b992 feat: report extension write latency and compare file system ids
The lease extension's durable store write is timed around the write
alone and recorded under the lease lock: the latest duration and the
slowest of the last minute (rolling, one bucket per second, like the
clamp counter). LeaseStats and the status endpoint carry them
(extension_write_last_ms, extension_write_max_last_minute_ms; -1 before
the first write, or with none in the last minute). Write latency is the
early lag signal; the headroom alarm and clamps follow it.

Storage identity gains statfs f_fsid (Linux). Two identities that both
know it must agree on machine id, device and fsid; when either side's
fsid is unknown (an older reporter, a platform without statfs) the
comparison falls back to machine id and device. Heartbeats carry it in
the new durable_root_fsid field (regenerated with the pinned
generators); the volume host reports it and the master samples its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 03:47:39 -08:00
..