Browse Source

added an error message

pull/4740/head
chrislu 1 year ago
parent
commit
3365468d0d
  1. 2
      weed/shell/command_volume_fix_replication.go

2
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]) fixedVolumes[strconv.FormatUint(uint64(vid), 10)] = len(volumeReplicas[vid])
} }
break break
} else {
fmt.Fprintf(writer, "fixing under replicated volume %d: %v\n", vid, err)
} }
} }
} }

Loading…
Cancel
Save