SnapshotsService

Source file "org/elasticsearch/snapshots/SnapshotsService.java" was not found during generation of report.

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total4,892 of 4,8920%618 of 6180%439439926926130130
stateWithoutSnapshot(ClusterState, Snapshot)2810%400%2121727211
processWaitingShardsAndRemovedNodes(SnapshotsInProgress.Entry, RoutingTable, DiscoveryNodes, Map)2370%360%1919585811
finalizeSnapshotEntry(Snapshot, Metadata, RepositoryData)2000%240%1313343411
createSnapshot(CreateSnapshotRequest, ActionListener)1810%200%1111313111
shards(SnapshotsInProgress, SnapshotDeletionsInProgress, ClusterState, Collection, boolean, RepositoryData, String)1550%280%1515303011
metadataForSnapshot(SnapshotsInProgress.Entry, Metadata)1520%280%1515272711
assertAllListenersResolved()1310%200%11117711
currentSnapshots(SnapshotsInProgress, String, List)1200%260%1414282811
assertConsistentWithClusterState(ClusterState)1170%120%77212111
assertNoDanglingSnapshots(ClusterState)1170%180%1010191911
failAllListenersOnMasterFailOver(Exception)1160%120%77202011
applyClusterState(ClusterChangedEvent)1140%280%1515181811
lambda$finalizeSnapshotEntry$33(SnapshotsInProgress.Entry, List, Snapshot, String, ShardGenerations, ArrayList, Repository, RepositoryData, String, Metadata)1090%60%44191911
readyDeletions(ClusterState)1050%160%99303011
SnapshotsService(Settings, ClusterService, IndexNameExpressionResolver, RepositoriesService, TransportService, ActionFilters, Map)990%20%22222211
endSnapshot(SnapshotsInProgress.Entry, Metadata, RepositoryData)900%140%88202011
lambda$finalizeSnapshotEntry$28(Repository, SnapshotsInProgress.Entry, RepositoryData)880%60%44171711
validate(String, String)860%140%88151511
waitingShardsStartedOrUnassigned(SnapshotsInProgress, ClusterChangedEvent)830%220%1212191911
cloneSnapshot(CloneSnapshotRequest, ActionListener)760%20%22131311
minCompatibleVersion(Version, RepositoryData, Collection)700%120%77131311
indicesWithMissingShards(ImmutableOpenMap, Metadata)650%80%55101011
deleteSnapshotsFromRepository(SnapshotDeletionsInProgress.Entry, RepositoryData, Version)650%100%66101011
snapshottingIndices(ClusterState, Set)630%140%88131311
startExecutableClones(SnapshotsInProgress, String)620%140%88111111
deletionsWithoutSnapshots(SnapshotDeletionsInProgress, Collection, String)610%80%55131311
startCloning(Repository, SnapshotsInProgress.Entry)600%n/a11131311
createSnapshotLegacy(CreateSnapshotRequest, ActionListener)560%n/a119911
lambda$finalizeSnapshotEntry$29(ObjectObjectCursor, String, SnapshotInfo.IndexSnapshotDetails)560%80%55141411
initShardSnapshotStatus(ShardGeneration, ShardRouting)510%100%669911
static {...}480%20%22141411
deleteSnapshots(DeleteSnapshotRequest, ActionListener)460%n/a118811
lambda$buildGenerations$23(SnapshotsInProgress.Entry, Metadata, ShardGenerations.Builder, ObjectObjectCursor)460%60%446611
handleFinalizationFailure(Exception, Snapshot, RepositoryData)430%20%227711
runNextQueuedOperation(RepositoryData, String, boolean)430%80%559911
lambda$startCloning$11(Collection, Snapshot, Repository, Executor, GroupedActionListener, SnapshotId, Consumer, SnapshotInfo)420%40%336611
lambda$removedNodesCleanupNeeded$27(Set, SnapshotsInProgress.Entry)390%100%668811
runReadyClone(Snapshot, SnapshotId, SnapshotsInProgress.ShardSnapshotStatus, RepositoryShardId, Repository)370%20%227711
ensureBelowConcurrencyLimit(String, String, SnapshotsInProgress, SnapshotDeletionsInProgress)350%20%225511
ensureNoCleanupInProgress(ClusterState, String, String, String)340%20%228811
onlySuccessfulFeatureStates(SnapshotsInProgress.Entry, List)330%40%338811
maybeAddUpdatedAssignment(ImmutableOpenMap.Builder, SnapshotsInProgress.ShardSnapshotStatus, Object, ImmutableOpenMap)320%80%559911
processExternalChanges(boolean, boolean)280%40%334411
isWritingToRepository(SnapshotsInProgress.Entry)280%60%447711
snapshottingDataStreams(ClusterState, Set)280%20%22101011
lambda$runReadyClone$21(Snapshot, RepositoryShardId, String, SnapshotsInProgress.ShardSnapshotStatus, SnapshotId, SnapshotId, Exception)280%n/a114411
getInFlightIndexIds(List, String)270%40%336611
updateWithSnapshots(ClusterState, SnapshotsInProgress, SnapshotDeletionsInProgress)260%80%558811
removeSnapshotDeletionFromClusterState(SnapshotDeletionsInProgress.Entry, Exception, RepositoryData)250%20%225511
addSnapshotEntry(List, SnapshotsInProgress.Entry, ImmutableOpenMap.Builder)240%20%226611
addCloneEntry(List, SnapshotsInProgress.Entry, ImmutableOpenMap.Builder)240%20%227711
lambda$finalizeSnapshotEntry$31(Snapshot, String, Tuple)240%n/a115511
endCompletedSnapshots(ClusterState)230%40%337711
lambda$runReadyClone$17(Snapshot, RepositoryShardId, String, SnapshotId, SnapshotId, ShardSnapshotResult)230%n/a114411
removeFailedSnapshotFromClusterState(Snapshot, Exception, RepositoryData, SnapshotsService.CleanupAfterErrorListener)220%40%333311
failListenersIgnoringException(List, Exception)220%40%337711
completeListenersIgnoringException(List, Object)220%40%337711
lambda$startCloning$8(Snapshot, SnapshotsInProgress.Entry, Exception)220%n/a115511
buildGenerations(SnapshotsInProgress.Entry, Metadata)210%20%225511
doStart()210%80%553311
lambda$startCloning$10(Collection, Executor, GroupedActionListener, Repository, SnapshotId, RepositoryData)210%20%224411
validate(String, String, ClusterState)200%20%225511
removedNodesCleanupNeeded(SnapshotsInProgress, List)200%20%224411
createDeleteStateUpdate(List, String, RepositoryData, Priority, ActionListener)190%20%223311
innerUpdateSnapshotState(SnapshotsService.ShardSnapshotUpdate, ActionListener)190%n/a114411
lambda$onlySuccessfulFeatureStates$35(Set, ObjectObjectCursor)190%40%334411
lambda$ensureSnapshotNameNotRunning$4(String, String, SnapshotsInProgress.Entry)180%40%332211
ensureSnapshotNameAvailableInRepo(RepositoryData, String, Repository)170%20%224411
failSnapshotCompletionListeners(Snapshot, Exception)170%40%333311
lambda$endCompletedSnapshots$24(SnapshotsInProgress.Entry)170%60%441111
lambda$createSnapshot$3(CreateSnapshotRequest, String, String, Repository, Set, SnapshotId, Map, ActionListener, Snapshot, RepositoryData)170%n/a111111
beginSnapshot(ClusterState, SnapshotsInProgress.Entry, boolean, List, Repository, ActionListener)160%n/a112211
deleteSnapshotsFromRepository(SnapshotDeletionsInProgress.Entry, Version)160%n/a113311
ensureSnapshotNameNotRunning(List, String, String)150%20%223311
ensureRepositoryExists(String, ClusterState)150%20%223311
filterDataStreamAliases(Map, Map)150%n/a115511
lambda$buildGenerations$22(ShardGenerations.Builder, ObjectObjectCursor)150%n/a111111
leaveRepoLoop(String)140%40%333311
lambda$onlySuccessfulFeatureStates$37(Set, SnapshotFeatureInfo)140%20%221111
lambda$cloneSnapshot$5(CloneSnapshotRequest, String, String, Repository, Snapshot, ActionListener, RepositoryData)140%n/a111111
executeSnapshotLegacy(CreateSnapshotRequest, ActionListener)130%n/a112211
executeSnapshot(CreateSnapshotRequest, ActionListener)130%n/a112211
endAndGetListenersToResolve(Snapshot)130%n/a113311
lambda$snapshottingDataStreams$50(Map, Set, String)120%40%331111
lambda$deleteSnapshots$42(DeleteSnapshotRequest, String[], String, ActionListener, String, RepositoryData)120%n/a111111
lambda$startCloning$9(Repository, RepositoryData, SnapshotId, IndexId)120%n/a112211
runReadyDeletions(RepositoryData, String)110%n/a112211
lambda$static$54(ClusterState, List)110%n/a113311
lambda$startCloning$13(Repository, SnapshotsInProgress.Entry, Snapshot, Consumer, Collection)110%n/a111111
addDeleteListener(String, ActionListener)100%n/a112211
addListener(Snapshot, ActionListener)100%n/a112211
isQueued(SnapshotsInProgress.ShardSnapshotStatus)100%40%331111
lambda$filterDataStreamAliases$51(Map, DataStreamAlias)100%n/a111111
lambda$deleteSnapshotsFromRepository$46(List, SnapshotDeletionsInProgress.Entry, RepositoryData)100%n/a113311
lambda$startCloning$12(SnapshotsInProgress.Entry, Collection, Snapshot, Repository, RepositoryData)100%n/a111111
lambda$finalizeSnapshotEntry$30(Map.Entry)90%20%221111
lambda$filterDataStreamAliases$52(Map, DataStreamAlias)80%n/a111111
lambda$minCompatibleVersion$45(Collection, SnapshotId)80%20%221111
lambda$deleteSnapshots$41(String[], String)80%n/a112211
lambda$assertNoDanglingSnapshots$26(SnapshotDeletionsInProgress.Entry)80%20%221111
lambda$runReadyClone$19(RepositoryShardId, Exception)80%n/a113311
lambda$runReadyClone$15(RepositoryShardId, Exception)80%n/a113311
lambda$snapshottingDataStreams$48(SnapshotsInProgress.Entry)70%20%221111
lambda$endCompletedSnapshots$25(ClusterState, SnapshotsInProgress.Entry)70%n/a111111
lambda$runReadyClone$18(RepositoryShardId, SnapshotId, SnapshotId, Void)70%n/a111111
lambda$runReadyClone$14(RepositoryShardId, SnapshotId, SnapshotId, Void)70%n/a111111
lambda$executeSnapshot$2(ActionListener, Snapshot)70%n/a111111
lambda$executeSnapshotLegacy$1(ActionListener, Snapshot)70%n/a111111
lambda$deleteSnapshotsFromRepository$47(SnapshotDeletionsInProgress.Entry, RepositoryData, Exception)60%n/a111111
lambda$handleFinalizationFailure$39(Snapshot)60%n/a111111
lambda$handleFinalizationFailure$38(Snapshot)60%n/a111111
lambda$finalizeSnapshotEntry$34(Snapshot, RepositoryData, Exception)60%n/a111111
lambda$finalizeSnapshotEntry$32(Snapshot, RepositoryData, Exception)60%n/a111111
lambda$runReadyClone$20(RepositoryShardId)60%n/a111111
lambda$runReadyClone$16(RepositoryShardId)60%n/a111111
lambda$startCloning$7(SnapshotsInProgress.Entry)60%n/a111111
tryEnterRepoLoop(String)50%n/a111111
doClose()50%n/a112211
lambda$readyDeletions$40(String, SnapshotsInProgress.Entry)50%n/a111111
lambda$onlySuccessfulFeatureStates$36(List, SnapshotFeatureInfo)50%n/a111111
lambda$ensureSnapshotNameAvailableInRepo$6(String, SnapshotId)50%n/a111111
lambda$new$0(Integer)50%n/a111111
useShardGenerations(Version)40%n/a111111
useIndexGenerations(Version)40%n/a111111
includesUUIDs(Version)40%n/a111111
lambda$addListener$53(Snapshot)40%n/a111111
lambda$snapshottingDataStreams$49(SnapshotsInProgress.Entry)40%n/a111111
lambda$addDeleteListener$43(String)40%n/a111111
lambda$minCompatibleVersion$44(SnapshotId)0%n/a111111
doStop()0%n/a111111