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.

fix error on go tip

Chris Lueaf000eff1af
diff --git a/weed/storage/volume_super_block.go b/weed/storage/volume_super_block.go
index fc773273d7..d6350ba0bb 100644
--- a/weed/storage/volume_super_block.go
+++ b/weed/storage/volume_super_block.go
@@ -42,7 +42,7 @@ func (s *SuperBlock) Bytes() []byte {
func (v *Volume) maybeWriteSuperBlock() error {
stat, e := v.dataFile.Stat()
if e != nil {
- glog.V(0).Infof("failed to stat datafile %s: %v", v.dataFile, e)
+ glog.V(0).Infof("failed to stat datafile %s: %v", v.dataFile.Name(), e)
return e
}
if stat.Size() == 0 {