aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_fix_replication.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2023-08-08 20:35:21 -0700
committerchrislu <chris.lu@gmail.com>2023-08-08 20:35:21 -0700
commit3365468d0d683f61a915eebce06cc8c54ecd1dd6 (patch)
tree33bf79289aae0bb72282758a85e2bcbd19039d6e /weed/shell/command_volume_fix_replication.go
parentcc065b8bf3b239793a4ffd1db4101f179ab1bff9 (diff)
downloadseaweedfs-3365468d0d683f61a915eebce06cc8c54ecd1dd6.tar.xz
seaweedfs-3365468d0d683f61a915eebce06cc8c54ecd1dd6.zip
added an error message
Diffstat (limited to 'weed/shell/command_volume_fix_replication.go')
-rw-r--r--weed/shell/command_volume_fix_replication.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/shell/command_volume_fix_replication.go b/weed/shell/command_volume_fix_replication.go
index dc6b086f4..528dfbd2e 100644
--- a/weed/shell/command_volume_fix_replication.go
+++ b/weed/shell/command_volume_fix_replication.go
@@ -244,6 +244,8 @@ func (c *commandVolumeFixReplication) fixUnderReplicatedVolumes(commandEnv *Comm
fixedVolumes[strconv.FormatUint(uint64(vid), 10)] = len(volumeReplicas[vid])
}
break
+ } else {
+ fmt.Fprintf(writer, "fixing under replicated volume %d: %v\n", vid, err)
}
}
}