Browse Source

logging

pull/1329/head
Chris Lu 5 years ago
parent
commit
75179544c3
  1. 1
      weed/shell/command_ec_encode.go

1
weed/shell/command_ec_encode.go

@ -191,6 +191,7 @@ func spreadEcShards(commandEnv *CommandEnv, volumeId needle.VolumeId, collection
// ask the source volume server to delete the original volume // ask the source volume server to delete the original volume
for _, location := range existingLocations { for _, location := range existingLocations {
fmt.Printf("delete volume %d from %s\n", volumeId, location.Url)
err = deleteVolume(commandEnv.option.GrpcDialOption, volumeId, location.Url) err = deleteVolume(commandEnv.option.GrpcDialOption, volumeId, location.Url)
if err != nil { if err != nil {
return fmt.Errorf("deleteVolume %s volume %d: %v", location.Url, volumeId, err) return fmt.Errorf("deleteVolume %s volume %d: %v", location.Url, volumeId, err)

Loading…
Cancel
Save