Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

ensure none zero lastGrowCount

chrisluded5e084ea32
diff --git a/weed/topology/volume_layout.go b/weed/topology/volume_layout.go
index e2a360165b..3fab748439 100644
--- a/weed/topology/volume_layout.go
+++ b/weed/topology/volume_layout.go
@@ -342,7 +342,7 @@ func (vl *VolumeLayout) DoneGrowRequest() {
}
func (vl *VolumeLayout) SetLastGrowCount(count uint32) {
- if vl.lastGrowCount.Load() != count {
+ if vl.lastGrowCount.Load() != count && count != 0 {
vl.lastGrowCount.Store(count)
}
}