mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-09-08 15:41:15 +02:00
As an untyped constant it became int when passed to Infof, which overflows on linux/386 and failed the 32-bit vet job. Every field it is compared against is already uint64. Claude-Session: https://claude.ai/code/session_015rYAmF8hV9yypb9yvy4A1z
8 lines
342 B
Go
8 lines
342 B
Go
package proto
|
|
|
|
// MinDiskBytes is what a cluster must store before its master reports it and
|
|
// the server keeps the report: fresh `weed server` runs, CI jobs and throwaway
|
|
// containers each mint their own cluster id, and they were most of the counted
|
|
// clusters while holding almost none of the bytes.
|
|
const MinDiskBytes uint64 = 10 << 30
|