aboutsummaryrefslogtreecommitdiff
path: root/weed
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-07-10 01:25:55 -0700
committerchrislu <chris.lu@gmail.com>2024-07-10 01:25:57 -0700
commit182f6d00a9275d744d9559fcc194ce8c47ad00b3 (patch)
tree6c5d852a9ba212cb5aa5b7b316b05b7a0a032db8 /weed
parentbd54669d58eb02dba5fa75d39971b9e7e32c1c0e (diff)
downloadseaweedfs-182f6d00a9275d744d9559fcc194ce8c47ad00b3.tar.xz
seaweedfs-182f6d00a9275d744d9559fcc194ce8c47ad00b3.zip
always copy ecj files
Diffstat (limited to 'weed')
-rw-r--r--weed/shell/command_ec_rebuild.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_ec_rebuild.go b/weed/shell/command_ec_rebuild.go
index 2131c5649..a4dfac67c 100644
--- a/weed/shell/command_ec_rebuild.go
+++ b/weed/shell/command_ec_rebuild.go
@@ -224,7 +224,7 @@ func prepareDataToRecover(commandEnv *CommandEnv, rebuilder *EcNode, collection
Collection: collection,
ShardIds: []uint32{uint32(shardId)},
CopyEcxFile: needEcxFile,
- CopyEcjFile: needEcxFile,
+ CopyEcjFile: true,
CopyVifFile: needEcxFile,
SourceDataNode: ecNodes[0].info.Id,
})