Source file "org/elasticsearch/indices/recovery/RecoverySourceHandler.java" was not found during generation of report.
Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
Total | 2,470 of 2,470 | 0% | 154 of 154 | 0% | 147 | 147 | 413 | 413 | 70 | 70 |
recoverToTarget(ActionListener) | ![]() | 0% | ![]() | 0% | 18 | 18 | 62 | 62 | 1 | 1 |
recoverFilesFromSourceAndSnapshot(ShardRecoveryPlan, Store, StopWatch, ActionListener) | ![]() | 0% | ![]() | 0% | 7 | 7 | 46 | 46 | 1 | 1 |
phase1(IndexCommit, long, IntSupplier, ActionListener) | ![]() | 0% | ![]() | 0% | 4 | 4 | 32 | 32 | 1 | 1 |
canSkipPhase1(Store.MetadataSnapshot, Store.MetadataSnapshot) | ![]() | 0% | ![]() | 0% | 7 | 7 | 14 | 14 | 1 | 1 |
lambda$createRetentionLease$32(ActionListener, long) | ![]() | 0% | ![]() | 0% | 4 | 4 | 18 | 18 | 1 | 1 |
lambda$recoverToTarget$14(Engine.HistorySource, long, Closeable, StepListener, TimeValue) | ![]() | 0% | ![]() | 0% | 3 | 3 | 15 | 15 | 1 | 1 |
handleErrorOnSendFiles(Store, Exception, StoreFileMetadata[]) | ![]() | 0% | ![]() | 0% | 8 | 8 | 19 | 19 | 1 | 1 |
RecoverySourceHandler(IndexShard, RecoveryTargetHandler, ThreadPool, StartRecoveryRequest, int, int, int, int, boolean, RecoveryPlannerService) | ![]() | 0% | ![]() | 0% | 2 | 2 | 17 | 17 | 1 | 1 |
finalizeRecovery(long, long, ActionListener) | ![]() | 0% | ![]() | 0% | 2 | 2 | 14 | 14 | 1 | 1 |
lambda$phase2$35(RecoverySourceHandler.OperationBatchSender, Translog.Snapshot, StopWatch, ActionListener, Void) | ![]() | 0% | ![]() | 0% | 3 | 3 | 11 | 11 | 1 | 1 |
phase2(long, long, Translog.Snapshot, long, long, RetentionLeases, long, ActionListener) | ![]() | 0% | ![]() | 0% | 2 | 2 | 10 | 10 | 1 | 1 |
lambda$recoverToTarget$2(Closeable, String, Exception) | ![]() | 0% | ![]() | 0% | 3 | 3 | 7 | 7 | 1 | 1 |
lambda$recoverToTarget$5(SetOnce) | ![]() | 0% | ![]() | 0% | 4 | 4 | 10 | 10 | 1 | 1 |
lambda$recoverToTarget$16(StepListener, StepListener, StepListener, Void) | ![]() | 0% | n/a | 1 | 1 | 9 | 9 | 1 | 1 | |
lambda$finalizeRecovery$40(long, ActionListener, StopWatch, Void) | ![]() | 0% | ![]() | 0% | 2 | 2 | 7 | 7 | 1 | 1 |
sendFiles(Store, StoreFileMetadata[], IntSupplier, ActionListener) | ![]() | 0% | n/a | 1 | 1 | 10 | 10 | 1 | 1 | |
lambda$recoverFilesFromSourceAndSnapshot$28(Store, Store.MetadataSnapshot, int, StepListener, RetentionLease) | ![]() | 0% | ![]() | 0% | 4 | 4 | 4 | 4 | 1 | 1 |
lambda$recoverToTarget$9(StepListener) | ![]() | 0% | n/a | 1 | 1 | 7 | 7 | 1 | 1 | |
lambda$runUnderPrimaryPermit$19(IndexShard, String, CancellableThreads.Interruptible, Logger) | ![]() | 0% | ![]() | 0% | 2 | 2 | 9 | 9 | 1 | 1 |
isTargetSameHistory() | ![]() | 0% | ![]() | 0% | 6 | 6 | 3 | 3 | 1 | 1 |
lambda$recoverToTarget$4(Closeable, Exception) | ![]() | 0% | ![]() | 0% | 3 | 3 | 3 | 3 | 1 | 1 |
createRetentionLease(long, ActionListener) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
prepareTargetForTranslog(int, ActionListener) | ![]() | 0% | n/a | 1 | 1 | 6 | 6 | 1 | 1 | |
lambda$recoverFilesFromSourceAndSnapshot$25(ShardRecoveryPlan, Store, StepListener, List) | ![]() | 0% | ![]() | 0% | 2 | 2 | 6 | 6 | 1 | 1 |
runWithGenericThreadPool(CheckedRunnable) | ![]() | 0% | ![]() | 0% | 3 | 3 | 5 | 5 | 1 | 1 |
lambda$recoverToTarget$12(Engine.HistorySource, long, StepListener, RecoverySourceHandler.SendFileResult) | ![]() | 0% | ![]() | 0% | 3 | 3 | 4 | 4 | 1 | 1 |
toString() | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
lambda$recoverToTarget$11(Engine.IndexCommitRef, long, int, StepListener, ReplicationResponse) | ![]() | 0% | ![]() | 0% | 3 | 3 | 3 | 3 | 1 | 1 |
lambda$handleErrorOnSendFiles$44(StoreFileMetadata[]) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lambda$finalizeRecovery$39(ActionListener, StopWatch) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
lambda$recoverFilesFromSourceAndSnapshot$29(StopWatch, ActionListener, List, List, long, List, List, long, Void) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
lambda$phase1$23(StopWatch, ActionListener, RetentionLease) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
lambda$cleanFiles$42(Store.MetadataSnapshot, Store, Exception) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
lambda$recoverToTarget$8(Engine.IndexCommitRef, Releasable, Exception) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
recoverSnapshotFiles(ShardRecoveryPlan, ActionListener) | ![]() | 0% | ![]() | 0% | 2 | 2 | 6 | 6 | 1 | 1 |
cleanFiles(Store, Store.MetadataSnapshot, IntSupplier, long, ActionListener) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
lambda$prepareTargetForTranslog$33(StopWatch, ActionListener, Void) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
completeFinalizationListener(ActionListener, StopWatch) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
acquireSafeCommit(IndexShard) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lambda$prepareTargetForTranslog$34(ActionListener, Exception) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$recoverToTarget$7(Engine.IndexCommitRef, Releasable, RecoverySourceHandler.SendFileResult) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$runUnderPrimaryPermit$18(Logger, Releasable, Throwable) | ![]() | 0% | ![]() | 0% | 3 | 3 | 5 | 5 | 1 | 1 |
runUnderPrimaryPermit(CancellableThreads.Interruptible, String, IndexShard, CancellableThreads, Logger) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
cancel(String) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
lambda$cleanFiles$43(Store.MetadataSnapshot, Store, ActionListener, Exception) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$finalizeRecovery$38(ActionListener, StopWatch, Void) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
lambda$finalizeRecovery$37(long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$finalizeRecovery$36(long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$acquireSafeCommit$21(Engine.IndexCommitRef) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$acquireStore$20(Store) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
static {...} | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
acquireStore(Store) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lambda$phase1$22(Store, StopWatch, ActionListener, ShardRecoveryPlan) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$recoverToTarget$15(long, StepListener, RecoverySourceHandler.SendSnapshotResult) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$recoverToTarget$13() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
failEngine(IOException) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
addListener(ActionListener) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lambda$recoverFilesFromSourceAndSnapshot$26(long, StepListener, Void) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$recoverFilesFromSourceAndSnapshot$24(ShardRecoveryPlan, StepListener, Void) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$recoverToTarget$17(Exception) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$recoverToTarget$3(Exception) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$recoverToTarget$1(RuntimeException) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$recoverToTarget$0() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getRequest() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
lambda$cleanFiles$41(int) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
lambda$createRetentionLease$31(RetentionLease, ReplicationResponse) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
lambda$createRetentionLease$30(RetentionLease, ReplicationResponse) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
lambda$recoverFilesFromSourceAndSnapshot$27(int) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
lambda$recoverToTarget$10(int) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
lambda$recoverToTarget$6(RetentionLease) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 |