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
add clientId logging
chrislufa610745133a
diff --git a/weed/filer/filer.go b/weed/filer/filer.goindex 86827c50e3..15fe69116b 100644--- a/weed/filer/filer.go+++ b/weed/filer/filer.go@@ -79,7 +79,7 @@ func (f *Filer) MaybeBootstrapFromPeers(self pb.ServerAddress, existingNodes []*return}- glog.V(0).Infof("bootstrap from %v", earliestNode.Address)+ glog.V(0).Infof("bootstrap from %v clientId:%d", earliestNode.Address, f.UniqueFileId)err = pb.FollowMetadata(pb.ServerAddress(earliestNode.Address), f.GrpcDialOption, "bootstrap", int32(f.UniqueFileId), "/", nil,0, snapshotTime.UnixNano(), f.Signature, func(resp *filer_pb.SubscribeMetadataResponse) error {return Replay(f.Store, resp)diff --git a/weed/filer/meta_aggregator.go b/weed/filer/meta_aggregator.goindex 11f0d91846..beade32015 100644--- a/weed/filer/meta_aggregator.go+++ b/weed/filer/meta_aggregator.go@@ -185,7 +185,7 @@ func (ma *MetaAggregator) doSubscribeToOneFiler(f *Filer, self pb.ServerAddress,return nil}- glog.V(4).Infof("subscribing remote %s meta change: %v", peer, time.Unix(0, lastTsNs))+ glog.V(4).Infof("subscribing remote %s meta change: %v, clientId:%d", peer, time.Unix(0, lastTsNs), ma.filer.UniqueFileId)err = pb.WithFilerClient(true, peer, ma.grpcDialOption, func(client filer_pb.SeaweedFilerClient) error {ctx, cancel := context.WithCancel(context.Background())defer cancel()