Source file "org/elasticsearch/snapshots/SnapshotsService.java" was not found during generation of report.
Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
Total | 4,892 of 4,892 | 0% | 618 of 618 | 0% | 439 | 439 | 926 | 926 | 130 | 130 |
stateWithoutSnapshot(ClusterState, Snapshot) | ![]() | 0% | ![]() | 0% | 21 | 21 | 72 | 72 | 1 | 1 |
processWaitingShardsAndRemovedNodes(SnapshotsInProgress.Entry, RoutingTable, DiscoveryNodes, Map) | ![]() | 0% | ![]() | 0% | 19 | 19 | 58 | 58 | 1 | 1 |
finalizeSnapshotEntry(Snapshot, Metadata, RepositoryData) | ![]() | 0% | ![]() | 0% | 13 | 13 | 34 | 34 | 1 | 1 |
createSnapshot(CreateSnapshotRequest, ActionListener) | ![]() | 0% | ![]() | 0% | 11 | 11 | 31 | 31 | 1 | 1 |
shards(SnapshotsInProgress, SnapshotDeletionsInProgress, ClusterState, Collection, boolean, RepositoryData, String) | ![]() | 0% | ![]() | 0% | 15 | 15 | 30 | 30 | 1 | 1 |
metadataForSnapshot(SnapshotsInProgress.Entry, Metadata) | ![]() | 0% | ![]() | 0% | 15 | 15 | 27 | 27 | 1 | 1 |
assertAllListenersResolved() | ![]() | 0% | ![]() | 0% | 11 | 11 | 7 | 7 | 1 | 1 |
currentSnapshots(SnapshotsInProgress, String, List) | ![]() | 0% | ![]() | 0% | 14 | 14 | 28 | 28 | 1 | 1 |
assertConsistentWithClusterState(ClusterState) | ![]() | 0% | ![]() | 0% | 7 | 7 | 21 | 21 | 1 | 1 |
assertNoDanglingSnapshots(ClusterState) | ![]() | 0% | ![]() | 0% | 10 | 10 | 19 | 19 | 1 | 1 |
failAllListenersOnMasterFailOver(Exception) | ![]() | 0% | ![]() | 0% | 7 | 7 | 20 | 20 | 1 | 1 |
applyClusterState(ClusterChangedEvent) | ![]() | 0% | ![]() | 0% | 15 | 15 | 18 | 18 | 1 | 1 |
lambda$finalizeSnapshotEntry$33(SnapshotsInProgress.Entry, List, Snapshot, String, ShardGenerations, ArrayList, Repository, RepositoryData, String, Metadata) | ![]() | 0% | ![]() | 0% | 4 | 4 | 19 | 19 | 1 | 1 |
readyDeletions(ClusterState) | ![]() | 0% | ![]() | 0% | 9 | 9 | 30 | 30 | 1 | 1 |
SnapshotsService(Settings, ClusterService, IndexNameExpressionResolver, RepositoriesService, TransportService, ActionFilters, Map) | ![]() | 0% | ![]() | 0% | 2 | 2 | 22 | 22 | 1 | 1 |
endSnapshot(SnapshotsInProgress.Entry, Metadata, RepositoryData) | ![]() | 0% | ![]() | 0% | 8 | 8 | 20 | 20 | 1 | 1 |
lambda$finalizeSnapshotEntry$28(Repository, SnapshotsInProgress.Entry, RepositoryData) | ![]() | 0% | ![]() | 0% | 4 | 4 | 17 | 17 | 1 | 1 |
validate(String, String) | ![]() | 0% | ![]() | 0% | 8 | 8 | 15 | 15 | 1 | 1 |
waitingShardsStartedOrUnassigned(SnapshotsInProgress, ClusterChangedEvent) | ![]() | 0% | ![]() | 0% | 12 | 12 | 19 | 19 | 1 | 1 |
cloneSnapshot(CloneSnapshotRequest, ActionListener) | ![]() | 0% | ![]() | 0% | 2 | 2 | 13 | 13 | 1 | 1 |
minCompatibleVersion(Version, RepositoryData, Collection) | ![]() | 0% | ![]() | 0% | 7 | 7 | 13 | 13 | 1 | 1 |
indicesWithMissingShards(ImmutableOpenMap, Metadata) | ![]() | 0% | ![]() | 0% | 5 | 5 | 10 | 10 | 1 | 1 |
deleteSnapshotsFromRepository(SnapshotDeletionsInProgress.Entry, RepositoryData, Version) | ![]() | 0% | ![]() | 0% | 6 | 6 | 10 | 10 | 1 | 1 |
snapshottingIndices(ClusterState, Set) | ![]() | 0% | ![]() | 0% | 8 | 8 | 13 | 13 | 1 | 1 |
startExecutableClones(SnapshotsInProgress, String) | ![]() | 0% | ![]() | 0% | 8 | 8 | 11 | 11 | 1 | 1 |
deletionsWithoutSnapshots(SnapshotDeletionsInProgress, Collection, String) | ![]() | 0% | ![]() | 0% | 5 | 5 | 13 | 13 | 1 | 1 |
startCloning(Repository, SnapshotsInProgress.Entry) | ![]() | 0% | n/a | 1 | 1 | 13 | 13 | 1 | 1 | |
createSnapshotLegacy(CreateSnapshotRequest, ActionListener) | ![]() | 0% | n/a | 1 | 1 | 9 | 9 | 1 | 1 | |
lambda$finalizeSnapshotEntry$29(ObjectObjectCursor, String, SnapshotInfo.IndexSnapshotDetails) | ![]() | 0% | ![]() | 0% | 5 | 5 | 14 | 14 | 1 | 1 |
initShardSnapshotStatus(ShardGeneration, ShardRouting) | ![]() | 0% | ![]() | 0% | 6 | 6 | 9 | 9 | 1 | 1 |
static {...} | ![]() | 0% | ![]() | 0% | 2 | 2 | 14 | 14 | 1 | 1 |
deleteSnapshots(DeleteSnapshotRequest, ActionListener) | ![]() | 0% | n/a | 1 | 1 | 8 | 8 | 1 | 1 | |
lambda$buildGenerations$23(SnapshotsInProgress.Entry, Metadata, ShardGenerations.Builder, ObjectObjectCursor) | ![]() | 0% | ![]() | 0% | 4 | 4 | 6 | 6 | 1 | 1 |
handleFinalizationFailure(Exception, Snapshot, RepositoryData) | ![]() | 0% | ![]() | 0% | 2 | 2 | 7 | 7 | 1 | 1 |
runNextQueuedOperation(RepositoryData, String, boolean) | ![]() | 0% | ![]() | 0% | 5 | 5 | 9 | 9 | 1 | 1 |
lambda$startCloning$11(Collection, Snapshot, Repository, Executor, GroupedActionListener, SnapshotId, Consumer, SnapshotInfo) | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
lambda$removedNodesCleanupNeeded$27(Set, SnapshotsInProgress.Entry) | ![]() | 0% | ![]() | 0% | 6 | 6 | 8 | 8 | 1 | 1 |
runReadyClone(Snapshot, SnapshotId, SnapshotsInProgress.ShardSnapshotStatus, RepositoryShardId, Repository) | ![]() | 0% | ![]() | 0% | 2 | 2 | 7 | 7 | 1 | 1 |
ensureBelowConcurrencyLimit(String, String, SnapshotsInProgress, SnapshotDeletionsInProgress) | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
ensureNoCleanupInProgress(ClusterState, String, String, String) | ![]() | 0% | ![]() | 0% | 2 | 2 | 8 | 8 | 1 | 1 |
onlySuccessfulFeatureStates(SnapshotsInProgress.Entry, List) | ![]() | 0% | ![]() | 0% | 3 | 3 | 8 | 8 | 1 | 1 |
maybeAddUpdatedAssignment(ImmutableOpenMap.Builder, SnapshotsInProgress.ShardSnapshotStatus, Object, ImmutableOpenMap) | ![]() | 0% | ![]() | 0% | 5 | 5 | 9 | 9 | 1 | 1 |
processExternalChanges(boolean, boolean) | ![]() | 0% | ![]() | 0% | 3 | 3 | 4 | 4 | 1 | 1 |
isWritingToRepository(SnapshotsInProgress.Entry) | ![]() | 0% | ![]() | 0% | 4 | 4 | 7 | 7 | 1 | 1 |
snapshottingDataStreams(ClusterState, Set) | ![]() | 0% | ![]() | 0% | 2 | 2 | 10 | 10 | 1 | 1 |
lambda$runReadyClone$21(Snapshot, RepositoryShardId, String, SnapshotsInProgress.ShardSnapshotStatus, SnapshotId, SnapshotId, Exception) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
getInFlightIndexIds(List, String) | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
updateWithSnapshots(ClusterState, SnapshotsInProgress, SnapshotDeletionsInProgress) | ![]() | 0% | ![]() | 0% | 5 | 5 | 8 | 8 | 1 | 1 |
removeSnapshotDeletionFromClusterState(SnapshotDeletionsInProgress.Entry, Exception, RepositoryData) | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
addSnapshotEntry(List, SnapshotsInProgress.Entry, ImmutableOpenMap.Builder) | ![]() | 0% | ![]() | 0% | 2 | 2 | 6 | 6 | 1 | 1 |
addCloneEntry(List, SnapshotsInProgress.Entry, ImmutableOpenMap.Builder) | ![]() | 0% | ![]() | 0% | 2 | 2 | 7 | 7 | 1 | 1 |
lambda$finalizeSnapshotEntry$31(Snapshot, String, Tuple) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
endCompletedSnapshots(ClusterState) | ![]() | 0% | ![]() | 0% | 3 | 3 | 7 | 7 | 1 | 1 |
lambda$runReadyClone$17(Snapshot, RepositoryShardId, String, SnapshotId, SnapshotId, ShardSnapshotResult) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
removeFailedSnapshotFromClusterState(Snapshot, Exception, RepositoryData, SnapshotsService.CleanupAfterErrorListener) | ![]() | 0% | ![]() | 0% | 3 | 3 | 3 | 3 | 1 | 1 |
failListenersIgnoringException(List, Exception) | ![]() | 0% | ![]() | 0% | 3 | 3 | 7 | 7 | 1 | 1 |
completeListenersIgnoringException(List, Object) | ![]() | 0% | ![]() | 0% | 3 | 3 | 7 | 7 | 1 | 1 |
lambda$startCloning$8(Snapshot, SnapshotsInProgress.Entry, Exception) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
buildGenerations(SnapshotsInProgress.Entry, Metadata) | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
doStart() | ![]() | 0% | ![]() | 0% | 5 | 5 | 3 | 3 | 1 | 1 |
lambda$startCloning$10(Collection, Executor, GroupedActionListener, Repository, SnapshotId, RepositoryData) | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
validate(String, String, ClusterState) | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
removedNodesCleanupNeeded(SnapshotsInProgress, List) | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
createDeleteStateUpdate(List, String, RepositoryData, Priority, ActionListener) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
innerUpdateSnapshotState(SnapshotsService.ShardSnapshotUpdate, ActionListener) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
lambda$onlySuccessfulFeatureStates$35(Set, ObjectObjectCursor) | ![]() | 0% | ![]() | 0% | 3 | 3 | 4 | 4 | 1 | 1 |
lambda$ensureSnapshotNameNotRunning$4(String, String, SnapshotsInProgress.Entry) | ![]() | 0% | ![]() | 0% | 3 | 3 | 2 | 2 | 1 | 1 |
ensureSnapshotNameAvailableInRepo(RepositoryData, String, Repository) | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
failSnapshotCompletionListeners(Snapshot, Exception) | ![]() | 0% | ![]() | 0% | 3 | 3 | 3 | 3 | 1 | 1 |
lambda$endCompletedSnapshots$24(SnapshotsInProgress.Entry) | ![]() | 0% | ![]() | 0% | 4 | 4 | 1 | 1 | 1 | 1 |
lambda$createSnapshot$3(CreateSnapshotRequest, String, String, Repository, Set, SnapshotId, Map, ActionListener, Snapshot, RepositoryData) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
beginSnapshot(ClusterState, SnapshotsInProgress.Entry, boolean, List, Repository, ActionListener) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
deleteSnapshotsFromRepository(SnapshotDeletionsInProgress.Entry, Version) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
ensureSnapshotNameNotRunning(List, String, String) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
ensureRepositoryExists(String, ClusterState) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
filterDataStreamAliases(Map, Map) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
lambda$buildGenerations$22(ShardGenerations.Builder, ObjectObjectCursor) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
leaveRepoLoop(String) | ![]() | 0% | ![]() | 0% | 3 | 3 | 3 | 3 | 1 | 1 |
lambda$onlySuccessfulFeatureStates$37(Set, SnapshotFeatureInfo) | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
lambda$cloneSnapshot$5(CloneSnapshotRequest, String, String, Repository, Snapshot, ActionListener, RepositoryData) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
executeSnapshotLegacy(CreateSnapshotRequest, ActionListener) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
executeSnapshot(CreateSnapshotRequest, ActionListener) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
endAndGetListenersToResolve(Snapshot) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
lambda$snapshottingDataStreams$50(Map, Set, String) | ![]() | 0% | ![]() | 0% | 3 | 3 | 1 | 1 | 1 | 1 |
lambda$deleteSnapshots$42(DeleteSnapshotRequest, String[], String, ActionListener, String, RepositoryData) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$startCloning$9(Repository, RepositoryData, SnapshotId, IndexId) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
runReadyDeletions(RepositoryData, String) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lambda$static$54(ClusterState, List) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
lambda$startCloning$13(Repository, SnapshotsInProgress.Entry, Snapshot, Consumer, Collection) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
addDeleteListener(String, ActionListener) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
addListener(Snapshot, ActionListener) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
isQueued(SnapshotsInProgress.ShardSnapshotStatus) | ![]() | 0% | ![]() | 0% | 3 | 3 | 1 | 1 | 1 | 1 |
lambda$filterDataStreamAliases$51(Map, DataStreamAlias) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$deleteSnapshotsFromRepository$46(List, SnapshotDeletionsInProgress.Entry, RepositoryData) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
lambda$startCloning$12(SnapshotsInProgress.Entry, Collection, Snapshot, Repository, RepositoryData) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$finalizeSnapshotEntry$30(Map.Entry) | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
lambda$filterDataStreamAliases$52(Map, DataStreamAlias) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$minCompatibleVersion$45(Collection, SnapshotId) | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
lambda$deleteSnapshots$41(String[], String) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lambda$assertNoDanglingSnapshots$26(SnapshotDeletionsInProgress.Entry) | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
lambda$runReadyClone$19(RepositoryShardId, Exception) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
lambda$runReadyClone$15(RepositoryShardId, Exception) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
lambda$snapshottingDataStreams$48(SnapshotsInProgress.Entry) | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
lambda$endCompletedSnapshots$25(ClusterState, SnapshotsInProgress.Entry) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$runReadyClone$18(RepositoryShardId, SnapshotId, SnapshotId, Void) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$runReadyClone$14(RepositoryShardId, SnapshotId, SnapshotId, Void) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$executeSnapshot$2(ActionListener, Snapshot) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$executeSnapshotLegacy$1(ActionListener, Snapshot) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$deleteSnapshotsFromRepository$47(SnapshotDeletionsInProgress.Entry, RepositoryData, Exception) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$handleFinalizationFailure$39(Snapshot) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$handleFinalizationFailure$38(Snapshot) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$finalizeSnapshotEntry$34(Snapshot, RepositoryData, Exception) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$finalizeSnapshotEntry$32(Snapshot, RepositoryData, Exception) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$runReadyClone$20(RepositoryShardId) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$runReadyClone$16(RepositoryShardId) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$startCloning$7(SnapshotsInProgress.Entry) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
tryEnterRepoLoop(String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
doClose() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lambda$readyDeletions$40(String, SnapshotsInProgress.Entry) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$onlySuccessfulFeatureStates$36(List, SnapshotFeatureInfo) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$ensureSnapshotNameAvailableInRepo$6(String, SnapshotId) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$new$0(Integer) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
useShardGenerations(Version) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
useIndexGenerations(Version) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
includesUUIDs(Version) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$addListener$53(Snapshot) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$snapshottingDataStreams$49(SnapshotsInProgress.Entry) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$addDeleteListener$43(String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$minCompatibleVersion$44(SnapshotId) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
doStop() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 |