aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-03-09 10:36:03 -0700
committerChris Lu <chris.lu@gmail.com>2020-03-09 10:36:03 -0700
commit14ae33d642e93b79a3f12d84f140deed8ebbf1b1 (patch)
tree1d8e2a92196989120fd5b0ae88add68181df92b9
parent89eb05b50f10b6ca74a374e5435df2f72019f635 (diff)
downloadseaweedfs-14ae33d642e93b79a3f12d84f140deed8ebbf1b1.tar.xz
seaweedfs-14ae33d642e93b79a3f12d84f140deed8ebbf1b1.zip
adjust logging
-rw-r--r--weed/topology/store_replicate.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/topology/store_replicate.go b/weed/topology/store_replicate.go
index 4acc71be5..8c4996d45 100644
--- a/weed/topology/store_replicate.go
+++ b/weed/topology/store_replicate.go
@@ -158,8 +158,8 @@ func getWritableRemoteReplications(s *storage.Store, volumeId needle.VolumeId, m
if copyCount > 1 {
if lookupResult, lookupErr := operation.Lookup(masterNode, volumeId.String()); lookupErr == nil {
if len(lookupResult.Locations) < copyCount {
- err = fmt.Errorf("replicating opetations [%d] is less than volume's replication copy count [%d]",
- len(lookupResult.Locations), copyCount)
+ err = fmt.Errorf("replicating opetations [%d] is less than volume %d replication copy count [%d]",
+ len(lookupResult.Locations), volumeId, copyCount)
return
}
selfUrl := s.Ip + ":" + strconv.Itoa(s.Port)