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
adjust print out when error
chrislusf6c88abf62f9e
diff --git a/go/topology/store_replicate.go b/go/topology/store_replicate.goindex 4adb4431e6..a4be4726ff 100644--- a/go/topology/store_replicate.go+++ b/go/topology/store_replicate.go@@ -96,12 +96,11 @@ func distributedOperation(masterNode string, store *storage.Store, volumeId storret = ret && <-results}if volume := store.GetVolume(volumeId); volume != nil {- copyCount := volume.ReplicaPlacement.GetCopyCount() - 1- if length < copyCount {- glog.V(0).Infoln("replicating opetations [%d] is less than volume's replication copy count [%d]", length, copyCount)+ if length+1 < volume.ReplicaPlacement.GetCopyCount() {+ glog.V(0).Infof("replicating opetations [%d] is less than volume's replication copy count [%d]", length+1, volume.ReplicaPlacement.GetCopyCount())ret = false}- }+ }return ret} else {glog.V(0).Infoln("Failed to lookup for", volumeId, lookupErr.Error())