Skip to content

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.

Update volume_grpc_erasure_coding.go (#6073)

coffeecloudgit6cbce110d5c1
diff --git a/weed/server/volume_grpc_erasure_coding.go b/weed/server/volume_grpc_erasure_coding.go
index dd51894c51..f9c5ea6832 100644
--- a/weed/server/volume_grpc_erasure_coding.go
+++ b/weed/server/volume_grpc_erasure_coding.go
@@ -192,6 +192,11 @@ func (vs *VolumeServer) VolumeEcShardsCopy(ctx context.Context, req *volume_serv
}
}
+ if req.CopyEcxFile { //when location no volume before copy
+ glog.V(0).Infof("Re LoadNewVolumes: %v", req)
+ vs.store.LoadNewVolumes()
+ }
+
return nil
})
if err != nil {