SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
Merge branch 'master' into gentle_vacuum
Konstantin Lebedev3c75479e2b05
diff --cc weed/server/volume_grpc_vacuum.goindex 96386d68dc,f11764f3a4..16fa407465--- a/weed/server/volume_grpc_vacuum.go+++ b/weed/server/volume_grpc_vacuum.go@@@ -2,16 -2,12 +2,17 @@@ package weed_serveimport ("context"+- "github.com/seaweedfs/seaweedfs/weed/glog"- "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"- "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"+ "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/prometheus/procfs"+ "math"+ "runtime")+var numCPU = runtime.NumCPU()+func (vs *VolumeServer) VacuumVolumeCheck(ctx context.Context, req *volume_server_pb.VacuumVolumeCheckRequest) (*volume_server_pb.VacuumVolumeCheckResponse, error) {resp := &volume_server_pb.VacuumVolumeCheckResponse{}