Browse Source

volume: vacuum pass preallocate variable

pull/1255/head
Chris Lu 5 years ago
parent
commit
3cc9e85895
  1. 1
      weed/topology/topology_vacuum.go

1
weed/topology/topology_vacuum.go

@ -67,6 +67,7 @@ func batchVacuumVolumeCompact(grpcDialOption grpc.DialOption, vl *VolumeLayout,
err := operation.WithVolumeServerClient(url, grpcDialOption, func(volumeServerClient volume_server_pb.VolumeServerClient) error {
_, err := volumeServerClient.VacuumVolumeCompact(context.Background(), &volume_server_pb.VacuumVolumeCompactRequest{
VolumeId: uint32(vid),
Preallocate: preallocate,
})
return err
})

Loading…
Cancel
Save