aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Murray <brad@bradmurray.com>2025-01-02 11:57:26 -0500
committerGitHub <noreply@github.com>2025-01-02 08:57:26 -0800
commitbc3640ee640b32739dcdcbb113e15ebc8b54e123 (patch)
treea3afcad1ede01a70f6b826b0b3ef1de5d11462d0
parent56123d1b0384633df9b9819b84aa32f7e986543a (diff)
downloadseaweedfs-bc3640ee640b32739dcdcbb113e15ebc8b54e123.tar.xz
seaweedfs-bc3640ee640b32739dcdcbb113e15ebc8b54e123.zip
Update command_fs_merge_volumes.go (#6406)
-rw-r--r--weed/shell/command_fs_merge_volumes.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/weed/shell/command_fs_merge_volumes.go b/weed/shell/command_fs_merge_volumes.go
index 3037480c1..e14a1e670 100644
--- a/weed/shell/command_fs_merge_volumes.go
+++ b/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())