Source file "org/elasticsearch/index/seqno/ReplicationTracker.java" was not found during generation of report.
| Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
| Total | 3,462 of 3,462 | 0% | 652 of 652 | 0% | 405 | 405 | 521 | 521 | 79 | 79 |
| invariant() | 0% | 0% | 66 | 66 | 38 | 38 | 1 | 1 | ||
| updateFromMaster(long, Set, IndexShardRoutingTable) | 0% | 0% | 19 | 19 | 35 | 35 | 1 | 1 | ||
| markAllocationIdAsInSync(String, long) | 0% | 0% | 21 | 21 | 24 | 24 | 1 | 1 | ||
| ReplicationTracker(ShardId, String, IndexSettings, long, long, LongConsumer, LongSupplier, BiConsumer, Supplier, Consumer) | 0% | 0% | 11 | 11 | 27 | 27 | 1 | 1 | ||
| addPeerRecoveryRetentionLeaseForSolePrimary() | 0% | 0% | 13 | 13 | 16 | 16 | 1 | 1 | ||
| renewPeerRecoveryRetentionLeases() | 0% | 0% | 14 | 14 | 18 | 18 | 1 | 1 | ||
| startRelocationHandoff(String) | 0% | 0% | 13 | 13 | 13 | 13 | 1 | 1 | ||
| activateWithPrimaryContext(ReplicationTracker.PrimaryContext) | 0% | 0% | 11 | 11 | 19 | 19 | 1 | 1 | ||
| getRetentionLeases(boolean) | 0% | 0% | 7 | 7 | 21 | 21 | 1 | 1 | ||
| activatePrimaryMode(long) | 0% | 0% | 13 | 13 | 11 | 11 | 1 | 1 | ||
| renewRetentionLease(String, long, String) | 0% | 0% | 7 | 7 | 16 | 16 | 1 | 1 | ||
| updateLocalCheckpoint(String, long) | 0% | 0% | 14 | 14 | 19 | 19 | 1 | 1 | ||
| createMissingPeerRecoveryRetentionLeases(ActionListener) | 0% | 0% | 5 | 5 | 21 | 21 | 1 | 1 | ||
| innerAddRetentionLease(String, long, String) | 0% | 0% | 6 | 6 | 11 | 11 | 1 | 1 | ||
| updateGlobalCheckpointForShard(String, long) | 0% | 0% | 14 | 14 | 12 | 12 | 1 | 1 | ||
| removeRetentionLease(String, ActionListener) | 0% | 0% | 4 | 4 | 13 | 13 | 1 | 1 | ||
| updateGlobalCheckpointOnPrimary() | 0% | 0% | 6 | 6 | 8 | 8 | 1 | 1 | ||
| persistRetentionLeases(Path) | 0% | 0% | 2 | 2 | 13 | 13 | 1 | 1 | ||
| completeRelocationHandoff() | 0% | 0% | 11 | 11 | 10 | 10 | 1 | 1 | ||
| updateLocalCheckpoint(String, ReplicationTracker.CheckpointState, long) | 0% | 0% | 4 | 4 | 8 | 8 | 1 | 1 | ||
| initiateTracking(String) | 0% | 0% | 10 | 10 | 10 | 10 | 1 | 1 | ||
| updateGlobalCheckpointOnReplica(long, String) | 0% | 0% | 8 | 8 | 9 | 9 | 1 | 1 | ||
| cloneRetentionLease(String, String, ActionListener) | 0% | 0% | 4 | 4 | 11 | 11 | 1 | 1 | ||
| lambda$getRetentionLeases$0(Set, boolean, long, long, long, RetentionLease) | 0% | 0% | 6 | 6 | 10 | 10 | 1 | 1 | ||
| lambda$renewPeerRecoveryRetentionLeases$4(long, ShardRouting) | 0% | 0% | 7 | 7 | 6 | 6 | 1 | 1 | ||
| computeGlobalCheckpoint(Set, Collection, long) | 0% | 0% | 7 | 7 | 11 | 11 | 1 | 1 | ||
| calculateReplicationGroup() | 0% | 0% | 2 | 2 | 6 | 6 | 1 | 1 | ||
| abortRelocationHandoff() | 0% | 0% | 9 | 9 | 6 | 6 | 1 | 1 | ||
| loadRetentionLeases(Path) | 0% | 0% | 4 | 4 | 7 | 7 | 1 | 1 | ||
| getInSyncGlobalCheckpoints() | 0% | 0% | 5 | 5 | 9 | 9 | 1 | 1 | ||
| getMasterUpdateOperationFromCurrentState() | 0% | 0% | 3 | 3 | 6 | 6 | 1 | 1 | ||
| addRetentionLease(String, long, String, ActionListener) | 0% | n/a | 1 | 1 | 7 | 7 | 1 | 1 | ||
| inSyncCheckpointStates(Map, ToLongFunction, Function) | 0% | 0% | 2 | 2 | 8 | 8 | 1 | 1 | ||
| assertRetentionLeasesPersisted(Path) | 0% | 0% | 3 | 3 | 2 | 2 | 1 | 1 | ||
| updateReplicationGroupAndNotify() | 0% | 0% | 3 | 3 | 5 | 5 | 1 | 1 | ||
| getMinimumReasonableRetainedSeqNo() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| lambda$addPeerRecoveryRetentionLeaseForSolePrimary$14(ShardRouting) | 0% | 0% | 3 | 3 | 2 | 2 | 1 | 1 | ||
| updateRetentionLeasesOnReplica(RetentionLeases) | 0% | 0% | 4 | 4 | 4 | 4 | 1 | 1 | ||
| pendingInSync() | 0% | 0% | 4 | 4 | 2 | 2 | 1 | 1 | ||
| lambda$updateFromMaster$15(String) | 0% | 0% | 3 | 3 | 1 | 1 | 1 | 1 | ||
| getTrackedLocalCheckpointForShard(String) | 0% | 0% | 3 | 3 | 2 | 2 | 1 | 1 | ||
| ReplicationTracker(ShardId, String, IndexSettings, long, long, LongConsumer, LongSupplier, BiConsumer, Supplier) | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| setHasAllPeerRecoveryRetentionLeases() | 0% | 0% | 3 | 3 | 3 | 3 | 1 | 1 | ||
| getReplicationGroup() | 0% | 0% | 3 | 3 | 2 | 2 | 1 | 1 | ||
| lambda$getMasterUpdateOperationFromCurrentState$20(Set, Map.Entry) | 0% | 0% | 2 | 2 | 3 | 3 | 1 | 1 | ||
| lambda$updateFromMaster$16(Set, Set, String) | 0% | 0% | 3 | 3 | 1 | 1 | 1 | 1 | ||
| lambda$getInSyncGlobalCheckpoints$6(ObjectLongMap, Map.Entry) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| addPeerRecoveryRetentionLease(String, long, ActionListener) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| cloneLocalPeerRecoveryRetentionLease(String, ActionListener) | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | ||
| getPeerRecoveryRetentionLeases() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | ||
| getPeerRecoveryRetentionLeaseId(String) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| lambda$updateFromMaster$17(String) | 0% | 0% | 2 | 2 | 1 | 1 | 1 | 1 | ||
| lambda$invariant$8(ReplicationTracker.CheckpointState) | 0% | 0% | 2 | 2 | 1 | 1 | 1 | 1 | ||
| lambda$invariant$7(ReplicationTracker.CheckpointState) | 0% | 0% | 2 | 2 | 1 | 1 | 1 | 1 | ||
| lambda$removeRetentionLease$2(String, RetentionLease) | 0% | 0% | 2 | 2 | 1 | 1 | 1 | 1 | ||
| lambda$renewRetentionLease$1(String, RetentionLease) | 0% | 0% | 2 | 2 | 1 | 1 | 1 | 1 | ||
| lambda$inSyncCheckpointStates$10(long) | 0% | 0% | 2 | 2 | 1 | 1 | 1 | 1 | ||
| static {...} | 0% | 0% | 2 | 2 | 1 | 1 | 1 | 1 | ||
| lambda$completeRelocationHandoff$18(String, ReplicationTracker.CheckpointState) | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | ||
| removePeerRecoveryRetentionLease(String, ActionListener) | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| lambda$getMasterUpdateOperationFromCurrentState$21(long, Set, IndexShardRoutingTable) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| lambda$createMissingPeerRecoveryRetentionLeases$19(ActionListener, Collection) | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | ||
| lambda$calculateReplicationGroup$13(Map.Entry) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| lambda$calculateReplicationGroup$12(Map.Entry) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| lambda$getInSyncGlobalCheckpoints$5(Map.Entry) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| lambda$getPeerRecoveryRetentionLeases$3(RetentionLease) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| getRetentionLeases() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| getPeerRecoveryRetentionLeaseId(ShardRouting) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| setOperationPrimaryTerm(long) | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| isPrimaryMode() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| getOperationPrimaryTerm() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| isRelocated() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| getGlobalCheckpoint() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| getAsLong() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| hasAllPeerRecoveryRetentionLeases() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| notifyAllWaiters() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| waitForLocalCheckpointToAdvance() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| lambda$inSyncCheckpointStates$9(ReplicationTracker.CheckpointState) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| lambda$new$11(ReplicationGroup) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 |