diff options
| author | chrislu <chris.lu@gmail.com> | 2023-01-29 22:55:06 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2023-01-29 22:55:06 -0800 |
| commit | ef70415c70d5245868b47216195ab9a323c15a50 (patch) | |
| tree | 876cd530e34046546328585260617c97daecda05 | |
| parent | 6e8dbf8868c8c5f32a82e89985984758b10a16e5 (diff) | |
| download | seaweedfs-ef70415c70d5245868b47216195ab9a323c15a50.tar.xz seaweedfs-ef70415c70d5245868b47216195ab9a323c15a50.zip | |
skipping manifest chunk volume id change
| -rw-r--r-- | weed/shell/command_fs_meta_change_volume_id.go | 4 |
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 |
