diff --git a/seaweed-block/core/storage/chunk_record_space_test.go b/seaweed-block/core/storage/chunk_record_space_test.go index 55f2b5f7b2..c7824b6668 100644 --- a/seaweed-block/core/storage/chunk_record_space_test.go +++ b/seaweed-block/core/storage/chunk_record_space_test.go @@ -9,10 +9,12 @@ import ( "testing" ) -// spaceVolume attaches a layer over a 1 TiB-shaped volume (262,144 chunks, -// every one named by HEAD), reads it whole so every chunk is present, and -// runs one cut. It returns the heap growth per chunk from before the store -// was created to after the cut, with the layer still attached. +// spacePerChunk attaches a lazy fresh-from-HEAD layer over a 1 TiB-shaped +// volume (262,144 chunks, every one named by HEAD and absent locally: none +// is read), writes one block and runs one cut. It returns the heap growth +// per chunk from before the store was created to after the cut, with the +// layer still attached. It measures that attached, lazy shape, not a volume +// whose chunks are all present locally. func spacePerChunk(t *testing.T, shadow bool) float64 { t.Helper() const n, bs = 262144, 512