mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-09 03:44:56 +08:00
Update command_fs_merge_volumes.go (#6406)
This commit is contained in:
@@ -112,15 +112,15 @@ func (c *commandFsMergeVolumes) Do(args []string, commandEnv *CommandEnv, writer
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
for _, chunk := range entry.Chunks {
|
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)
|
chunkVolumeId := needle.VolumeId(chunk.Fid.VolumeId)
|
||||||
toVolumeId, found := plan[chunkVolumeId]
|
toVolumeId, found := plan[chunkVolumeId]
|
||||||
if !found {
|
if !found {
|
||||||
continue
|
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)
|
path := parentPath.Child(entry.Name)
|
||||||
|
|
||||||
fmt.Printf("move %s(%s)\n", path, chunk.GetFileIdString())
|
fmt.Printf("move %s(%s)\n", path, chunk.GetFileIdString())
|
||||||
|
|||||||
Reference in New Issue
Block a user