Add InMemory to Volume Grow structure

This commit is contained in:
j.laycock
2019-09-03 18:19:02 +01:00
parent 1f01eb78e8
commit cbd0a98fa1
5 changed files with 5 additions and 11 deletions

View File

@@ -23,6 +23,7 @@ func AllocateVolume(dn *DataNode, grpcDialOption grpc.DialOption, vid needle.Vol
Replication: option.ReplicaPlacement.String(),
Ttl: option.Ttl.String(),
Preallocate: option.Prealloacte,
InMemory: option.InMemory,
})
return deleteErr
})

View File

@@ -28,6 +28,7 @@ type VolumeGrowOption struct {
DataCenter string
Rack string
DataNode string
InMemory bool
}
type VolumeGrowth struct {