aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2023-01-29 22:55:06 -0800
committerchrislu <chris.lu@gmail.com>2023-01-29 22:55:06 -0800
commitef70415c70d5245868b47216195ab9a323c15a50 (patch)
tree876cd530e34046546328585260617c97daecda05
parent6e8dbf8868c8c5f32a82e89985984758b10a16e5 (diff)
downloadseaweedfs-ef70415c70d5245868b47216195ab9a323c15a50.tar.xz
seaweedfs-ef70415c70d5245868b47216195ab9a323c15a50.zip
skipping manifest chunk volume id change
-rw-r--r--weed/shell/command_fs_meta_change_volume_id.go4
1 files changed, 4 insertions, 0 deletions
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