mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 21:47:24 +08:00
Add InMemory to Volume Grow structure
This commit is contained in:
@@ -214,7 +214,6 @@ func (m *VacuumVolumeCheckResponse) GetGarbageRatio() float64 {
|
||||
type VacuumVolumeCompactRequest struct {
|
||||
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
|
||||
Preallocate int64 `protobuf:"varint,2,opt,name=preallocate" json:"preallocate,omitempty"`
|
||||
InMemory bool `protobuf:"varint,2,opt,name=inmemory" json:"inmemory,omitempty"`
|
||||
}
|
||||
|
||||
func (m *VacuumVolumeCompactRequest) Reset() { *m = VacuumVolumeCompactRequest{} }
|
||||
@@ -236,13 +235,6 @@ func (m *VacuumVolumeCompactRequest) GetPreallocate() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *VacuumVolumeCompactRequest) GetInMemory() bool {
|
||||
if m != nil {
|
||||
return m.InMemory
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
type VacuumVolumeCompactResponse struct {
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user