Browse Source

Update command_fs_merge_volumes.go (#6406)

pull/5150/merge
Brad Murray 6 days ago
committed by GitHub
parent
commit
bc3640ee64
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 8
      weed/shell/command_fs_merge_volumes.go

8
weed/shell/command_fs_merge_volumes.go

@ -112,15 +112,15 @@ func (c *commandFsMergeVolumes) Do(args []string, commandEnv *CommandEnv, writer
return
}
for _, chunk := range entry.Chunks {
if chunk.IsChunkManifest {
fmt.Printf("Change volume id for large file is not implemented yet: %s/%s\n", parentPath, entry.Name)
continue
}
chunkVolumeId := needle.VolumeId(chunk.Fid.VolumeId)
toVolumeId, found := plan[chunkVolumeId]
if !found {
continue
}
if chunk.IsChunkManifest {
fmt.Printf("Change volume id for large file is not implemented yet: %s/%s\n", parentPath, entry.Name)
continue
}
path := parentPath.Child(entry.Name)
fmt.Printf("move %s(%s)\n", path, chunk.GetFileIdString())

Loading…
Cancel
Save