From ef70415c70d5245868b47216195ab9a323c15a50 Mon Sep 17 00:00:00 2001 From: chrislu Date: Sun, 29 Jan 2023 22:55:06 -0800 Subject: [PATCH] skipping manifest chunk volume id change --- weed/shell/command_fs_meta_change_volume_id.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/weed/shell/command_fs_meta_change_volume_id.go b/weed/shell/command_fs_meta_change_volume_id.go index c11c5092f..0d350644d 100644 --- a/weed/shell/command_fs_meta_change_volume_id.go +++ b/weed/shell/command_fs_meta_change_volume_id.go @@ -68,6 +68,10 @@ func (c *commandFsMetaChangeVolumeId) Do(args []string, commandEnv *CommandEnv, if !entry.IsDirectory { var hasChanges bool 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) + return + } chunkVolumeId := chunk.Fid.VolumeId if toVolumeId, found := mapping[needle.VolumeId(chunkVolumeId)]; found { hasChanges = true