diff options
| author | chrislu <chris.lu@gmail.com> | 2023-08-08 20:35:21 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2023-08-08 20:35:21 -0700 |
| commit | 3365468d0d683f61a915eebce06cc8c54ecd1dd6 (patch) | |
| tree | 33bf79289aae0bb72282758a85e2bcbd19039d6e /weed/shell/command_volume_fix_replication.go | |
| parent | cc065b8bf3b239793a4ffd1db4101f179ab1bff9 (diff) | |
| download | seaweedfs-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.go | 2 |
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) } } } |
