From 3365468d0d683f61a915eebce06cc8c54ecd1dd6 Mon Sep 17 00:00:00 2001 From: chrislu Date: Tue, 8 Aug 2023 20:35:21 -0700 Subject: [PATCH] added an error message --- weed/shell/command_volume_fix_replication.go | 2 ++ 1 file changed, 2 insertions(+) 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) } } }