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.

adjust logging

Chris Lubd3254b53f78
diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.go
index 4807e367bb..37bb92acc0 100644
--- a/weed/filesys/wfs.go
+++ b/weed/filesys/wfs.go
@@ -99,7 +99,7 @@ func (wfs *WFS) WithFilerClient(ctx context.Context, fn func(context.Context, fi
return nil
}
if strings.Contains(err.Error(), "context canceled") {
- glog.V(2).Infoln("retry context canceled request...")
+ glog.V(0).Infoln("retry context canceled request...")
return util.WithCachedGrpcClient(context.Background(), func(ctx2 context.Context, grpcConnection *grpc.ClientConn) error {
client := filer_pb.NewSeaweedFilerClient(grpcConnection)
return fn(ctx2, client)
diff --git a/weed/pb/filer_pb/filer_pb_helper.go b/weed/pb/filer_pb/filer_pb_helper.go
index 0f370ffc4c..349f07320f 100644
--- a/weed/pb/filer_pb/filer_pb_helper.go
+++ b/weed/pb/filer_pb/filer_pb_helper.go
@@ -77,7 +77,7 @@ func CreateEntry(ctx context.Context, client SeaweedFilerClient, request *Create
return fmt.Errorf("CreateEntry: %v", err)
}
if resp.Error != "" {
- return fmt.Errorf("CreateEntry: %v", resp.Error)
+ return fmt.Errorf("CreateEntry : %v", resp.Error)
}
return err
}