mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-01-19 23:24:33 +08:00
ensure none zero lastGrowCount
This commit is contained in:
parent
0cf2c15828
commit
ded5e084ea
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user