mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-15 20:06:19 +08:00
ensure none zero lastGrowCount
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user