mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
d6ef70d2fe6285d3b2fd4e79eeb4a43f4bfdbcfb
Review follow-up. weed mini gets -ip.bind=127.0.0.1 (its -ip alone is the advertised address; the bind defaulted to 0.0.0.0), every listener's port explicitly (master, volume and filer HTTP and gRPC), all preflighted and moved by --port-shift, and its S3, WebDAV and admin UI off. --size refuses an overflowing value. The dir is claimed by one exclusive mkdir (or must exist with --reuse) and held by a lock for the run, before any write. Startup and the layout id wait stop at once when any child dies. Tests: the supported commands pinned value for value, with controls; a busy weed port; port shift; one mini per dir; weed dying during startup; the process tests register their bounded cleanup before any assertion. 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%