mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
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>