mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 22:37:23 +08:00
ec: generate and copy .vif file
This commit is contained in:
@@ -67,6 +67,7 @@ func oneServerCopyAndMountEcShardsFromSource(ctx context.Context, grpcDialOption
|
||||
ShardIds: shardIdsToCopy,
|
||||
CopyEcxFile: true,
|
||||
CopyEcjFile: true,
|
||||
CopyVifFile: true,
|
||||
SourceDataNode: existingLocation,
|
||||
})
|
||||
if copyErr != nil {
|
||||
|
@@ -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 {
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user