|
@ -228,7 +228,7 @@ func (vg *VolumeGrowth) grow(grpcDialOption grpc.DialOption, topo *Topology, vid |
|
|
ReplicaPlacement: option.ReplicaPlacement, |
|
|
ReplicaPlacement: option.ReplicaPlacement, |
|
|
Ttl: option.Ttl, |
|
|
Ttl: option.Ttl, |
|
|
Version: needle.CurrentVersion, |
|
|
Version: needle.CurrentVersion, |
|
|
DiskType: string(option.DiskType), |
|
|
DiskType: option.DiskType.String(), |
|
|
} |
|
|
} |
|
|
server.AddOrUpdateVolume(vi) |
|
|
server.AddOrUpdateVolume(vi) |
|
|
topo.RegisterVolumeLayout(vi, server) |
|
|
topo.RegisterVolumeLayout(vi, server) |
|
|
xxxxxxxxxx