aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_ec_decode.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_decode.go
parentc06f7eb48a82afee597e2f2a193a36c8058915eb (diff)
downloadseaweedfs-37b64a50b4da90637f3f17a2b4bd79f55cbd3098.tar.xz
seaweedfs-37b64a50b4da90637f3f17a2b4bd79f55cbd3098.zip
ec: generate and copy .vif file
Diffstat (limited to 'weed/shell/command_ec_decode.go')
-rw-r--r--weed/shell/command_ec_decode.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/shell/command_ec_decode.go b/weed/shell/command_ec_decode.go
index 8ca035a8c..1f9ad2ff9 100644
--- a/weed/shell/command_ec_decode.go
+++ b/weed/shell/command_ec_decode.go
@@ -180,6 +180,7 @@ func collectEcShards(ctx context.Context, commandEnv *CommandEnv, nodeToEcIndexB
ShardIds: needToCopyEcIndexBits.ToUint32Slice(),
CopyEcxFile: false,
CopyEcjFile: true,
+ CopyVifFile: true,
SourceDataNode: loc,
})
if copyErr != nil {