mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Merge branch 'master' into add_remote_storage
This commit is contained in:
commit
1161c70dab
|
@ -147,7 +147,7 @@ func (n *Needle) Append(w backend.BackendStorageFile, version Version) (offset u
|
||||||
err = fmt.Errorf("Cannot Read Current Volume Position: %v", e)
|
err = fmt.Errorf("Cannot Read Current Volume Position: %v", e)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if offset >= MaxPossibleVolumeSize {
|
if offset >= MaxPossibleVolumeSize && n.Size.IsValid() {
|
||||||
err = fmt.Errorf("Volume Size %d Exeededs %d", offset, MaxPossibleVolumeSize)
|
err = fmt.Errorf("Volume Size %d Exeededs %d", offset, MaxPossibleVolumeSize)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue