mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-05-22 17:51:30 +00:00
todo
This commit is contained in:
@@ -288,6 +288,7 @@ func oneServerCopyAndMountEcShardsFromSource(grpcDialOption grpc.DialOption,
|
||||
CopyEcjFile: true,
|
||||
CopyVifFile: true,
|
||||
SourceDataNode: string(existingLocation),
|
||||
Generation: 0, // shell commands operate on existing (generation 0) volumes
|
||||
})
|
||||
if copyErr != nil {
|
||||
return fmt.Errorf("copy %d.%v %s => %s : %v\n", volumeId, shardIdsToCopy, existingLocation, targetServer.info.Id, copyErr)
|
||||
|
||||
@@ -196,6 +196,7 @@ func collectEcShards(commandEnv *CommandEnv, nodeToEcIndexBits map[pb.ServerAddr
|
||||
CopyEcjFile: true,
|
||||
CopyVifFile: true,
|
||||
SourceDataNode: string(loc),
|
||||
Generation: 0, // shell commands operate on existing (generation 0) volumes
|
||||
})
|
||||
if copyErr != nil {
|
||||
return fmt.Errorf("copy %d.%v %s => %s : %v\n", vid, needToCopyEcIndexBits.ShardIds(), loc, targetNodeLocation, copyErr)
|
||||
|
||||
@@ -231,6 +231,7 @@ func prepareDataToRecover(commandEnv *CommandEnv, rebuilder *EcNode, collection
|
||||
CopyEcjFile: true,
|
||||
CopyVifFile: needEcxFile,
|
||||
SourceDataNode: ecNodes[0].info.Id,
|
||||
Generation: 0, // shell commands operate on existing (generation 0) volumes
|
||||
})
|
||||
return copyErr
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user