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.

Remove test code

j.laycock84f2dc3b53e7
diff --git a/weed/pb/volume_server_pb/volume_server.pb.go b/weed/pb/volume_server_pb/volume_server.pb.go
index addaf9a655..deab62bb1b 100644
--- a/weed/pb/volume_server_pb/volume_server.pb.go
+++ b/weed/pb/volume_server_pb/volume_server.pb.go
@@ -1979,18 +1979,6 @@ func _VolumeServer_DeleteCollection_Handler(srv interface{}, ctx context.Context
func _VolumeServer_AllocateVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(AllocateVolumeRequest)
- if in.MemoryMapMaxSizeMB > 0 {
- test := 6
- test += 5
- }
- if in.MemoryMapMaxSizeMB == 77 {
- test := 7
- test += 656
- }
- if in.Ttl != "" {
- test := 2345
- test += 567
- }
if err := dec(in); err != nil {
return nil, err
}