mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
skipping manifest chunk volume id change
This commit is contained in:
parent
6e8dbf8868
commit
ef70415c70
|
@ -68,6 +68,10 @@ func (c *commandFsMetaChangeVolumeId) Do(args []string, commandEnv *CommandEnv,
|
||||||
if !entry.IsDirectory {
|
if !entry.IsDirectory {
|
||||||
var hasChanges bool
|
var hasChanges bool
|
||||||
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)
|
||||||
|
return
|
||||||
|
}
|
||||||
chunkVolumeId := chunk.Fid.VolumeId
|
chunkVolumeId := chunk.Fid.VolumeId
|
||||||
if toVolumeId, found := mapping[needle.VolumeId(chunkVolumeId)]; found {
|
if toVolumeId, found := mapping[needle.VolumeId(chunkVolumeId)]; found {
|
||||||
hasChanges = true
|
hasChanges = true
|
||||||
|
|
Loading…
Reference in a new issue