aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_ec_rebuild.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-12-28 12:44:59 -0800
committerChris Lu <chris.lu@gmail.com>2019-12-28 12:44:59 -0800
commit37b64a50b4da90637f3f17a2b4bd79f55cbd3098 (patch)
tree3dc971dfff768d708e8509c78148fbfba84e1cb1 /weed/shell/command_ec_rebuild.go
parentc06f7eb48a82afee597e2f2a193a36c8058915eb (diff)
downloadseaweedfs-37b64a50b4da90637f3f17a2b4bd79f55cbd3098.tar.xz
seaweedfs-37b64a50b4da90637f3f17a2b4bd79f55cbd3098.zip
ec: generate and copy .vif file
Diffstat (limited to 'weed/shell/command_ec_rebuild.go')
-rw-r--r--weed/shell/command_ec_rebuild.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/shell/command_ec_rebuild.go b/weed/shell/command_ec_rebuild.go
index 08732a309..2e2fca743 100644
--- a/weed/shell/command_ec_rebuild.go
+++ b/weed/shell/command_ec_rebuild.go
@@ -216,6 +216,7 @@ func prepareDataToRecover(ctx context.Context, commandEnv *CommandEnv, rebuilder
ShardIds: []uint32{uint32(shardId)},
CopyEcxFile: needEcxFile,
CopyEcjFile: needEcxFile,
+ CopyVifFile: needEcxFile,
SourceDataNode: ecNodes[0].info.Id,
})
return copyErr