RestoreJob

A different version of class was executed at runtime.

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total7,735 of 7,7350%747 of 7470%4524521,6111,6117474
checkAndPrepareMeta()1,2770%1780%909027627611
downloadLocalSnapshots()4390%280%1515878711
atomicReplaceOlapTables(Database, boolean)4290%340%1818909011
replayCheckAndPrepareMeta()3760%340%1818848411
downloadRemoteSnapshots()3500%300%1616707011
createReplicas(Database, OlapTable, Partition, Map)3150%220%1212686811
bindLocalAndRemoteOlapTableReplicas(OlapTable, OlapTable, Map)2770%240%1313545411
allTabletCommitted(boolean)2360%320%1717575711
cleanMetaObjects(boolean)2360%380%2020525211
allReplicasCreated()2140%200%1111454511
genFileMapping(OlapTable, Partition, Long, BackupJobInfo.BackupPartitionInfo, boolean, Map)2100%180%1010282811
getFileMappingForSnapshots(OlapTable, SnapshotInfo)2010%100%66313111
RestoreJob(String, String, long, String, BackupJobInfo, boolean, ReplicaAllocation, long, int, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, Env, long)1900%40%33565611
prepareAndSendSnapshotTaskForOlapTable(Database)1710%60%44383811
getInfo(boolean)1710%40%33373711
setTableStateToNormalAndUpdateProperties(Database, boolean, boolean)1570%360%1919414111
cancelInternal(boolean)1530%160%1010404011
run()1400%300%1919373711
waitingAllReplicasCreated()1360%120%77303011
checkIfNeedCancel()1320%140%88232311
dropAllNonRestoredTableAndPartitions(Database)1210%160%99252511
resetTabletForRestore(OlapTable, OlapTable, Partition, ReplicaAllocation)1190%80%55262611
resetPartitionForRestore(OlapTable, OlapTable, String, ReplicaAllocation)1090%100%66242411
checkAndRestoreResources()1060%80%55242411
finishTabletSnapshotTask(SnapshotTask, TFinishTaskRequest)960%80%55171711
commit()900%20%22171711
finishTabletDownloadTask(DownloadTask, TFinishTaskRequest)840%100%66171711
RestoreJob()770%n/a11313111
RestoreJob(AbstractJob.JobType)770%n/a11313111
genFileMappingWhenBackupReplicasEqual(PartitionInfo, Partition, Table, BackupJobInfo.BackupPartitionInfo, String, BackupJobInfo.BackupOlapTableInfo, ReplicaAllocation)760%40%33121211
doCreateReplicas()730%60%44191911
updateRepo(Repository)640%80%55151511
downloadAndDeserializeMetaInfo()610%100%66141411
gsonPostProcess()610%n/a119911
dropNonRestoredPartitions(Database, OlapTable, BackupJobInfo.BackupOlapTableInfo)560%80%55161611
updateOlapTablesVersion(Database)500%100%66161611
finishDirMoveTask(DirMoveTask, TFinishTaskRequest)480%60%449911
releaseSnapshots(Table, boolean)480%40%33111111
waitingAllSnapshotsFinished()460%40%33111111
cancel()430%20%225511
checkTaskStatus(AgentTask, long, TFinishTaskRequest)410%60%446611
waitingAllDownloadFinished()310%20%228811
waitingAllTabletsCommitted()280%40%338811
lambda$getInfo$3(Map.Entry)260%n/a111111
RestoreJob(String, String, long, String, BackupJobInfo, boolean, ReplicaAllocation, long, int, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, Env, long, BackupMeta)250%n/a113311
createDownloadTask(long, long, long, long, Map, FsBroker)240%n/a113311
toString()240%n/a114411
read(DataInput)180%20%224411
lambda$getInfo$4(Map.Entry)180%n/a111111
replayRun()170%30%337711
lambda$getInfo$2(Map.Entry)170%n/a111111
lambda$waitingAllReplicasCreated$0(Map.Entry)170%n/a111111
isDone()120%40%333311
getRestoreObjs()110%20%222211
isFromLocalSnapshot()0%20%221111
genFileMapping(OlapTable, Partition, Long, BackupJobInfo.BackupPartitionInfo, boolean)0%n/a112211
downloadSnapshots()0%20%224411
tableAliasWithAtomicRestore(String)0%n/a111111
isPending()0%20%221111
isCancelled()0%20%221111
isFinished()0%20%221111
setState(RestoreJob.RestoreJobState)0%n/a113311
createReplicas(Database, OlapTable, Partition)0%n/a112211
replayWaitingAllTabletsCommitted()0%n/a112211
replayCancel()0%n/a112211
getBriefInfo()0%n/a111111
getFullInfo()0%n/a111111
static {...}0%n/a111111
getState()0%n/a111111
getMetaVersion()0%n/a111111
isBeingSynced()0%n/a111111
getColocatePersistInfos()0%n/a111111
lambda$dropAllNonRestoredTableAndPartitions$1(BackupJobInfo.BackupViewInfo)0%n/a111111
checkStorageVault(OlapTable)0%n/a111111