You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by st...@apache.org on 2022/03/10 17:55:18 UTC
[sling-org-apache-sling-discovery-oak] branch master updated: SLING-10489 : javadocs fixed
This is an automated email from the ASF dual-hosted git repository.
stefanegli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-discovery-oak.git
The following commit(s) were added to refs/heads/master by this push:
new 14776ab SLING-10489 : javadocs fixed
14776ab is described below
commit 14776ab4a6c9efc1f075e7476ae8512e30c466c8
Author: Stefan Egli <st...@apache.org>
AuthorDate: Thu Mar 10 18:55:10 2022 +0100
SLING-10489 : javadocs fixed
---
src/main/java/org/apache/sling/discovery/oak/JoinerDelay.java | 4 ++--
.../sling/discovery/oak/cluster/PartialStartupDetector.java | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/main/java/org/apache/sling/discovery/oak/JoinerDelay.java b/src/main/java/org/apache/sling/discovery/oak/JoinerDelay.java
index 38ec2cd..822d1ef 100644
--- a/src/main/java/org/apache/sling/discovery/oak/JoinerDelay.java
+++ b/src/main/java/org/apache/sling/discovery/oak/JoinerDelay.java
@@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory;
/**
* The JoinerDelay is an ClusterSyncService used in the sync chain and got
* introduced as part of SLING-10489.
- * <p/>
+ * <p>
* With SLING-10489 new-joining instances are ignored/suppressed by existing
* instances in the cluster as long as they are potentially only partially
* started up. The definition of partial-vs-full is the when everything
@@ -43,7 +43,7 @@ import org.slf4j.LoggerFactory;
* It is undefined how long a startup lasts and to avoid blocking other instances
* from operating under a well-defined topology, the notion of ignoring/suppressing
* partially started instances has been introduced.
- * <p/>
+ * <p>
* Generally speaking there are the following different cases wrt changes
* in the local cluster:
* <ul>
diff --git a/src/main/java/org/apache/sling/discovery/oak/cluster/PartialStartupDetector.java b/src/main/java/org/apache/sling/discovery/oak/cluster/PartialStartupDetector.java
index 36b400e..bb731e9 100644
--- a/src/main/java/org/apache/sling/discovery/oak/cluster/PartialStartupDetector.java
+++ b/src/main/java/org/apache/sling/discovery/oak/cluster/PartialStartupDetector.java
@@ -33,12 +33,12 @@ import org.slf4j.LoggerFactory;
/**
* Discovery.oak requires that both Oak and Sling are operating normally in
* order to declare victory and announce a new topology.
- * <p/>
+ * <p>
* The startup phase is especially tricky in this regard, since there are
* multiple elements that need to get updated (some are in the Oak layer, some
* in Sling):
* <ul>
- * <li>lease & clusterNodeId : this is maintained by Oak</li>
+ * <li>lease & clusterNodeId : this is maintained by Oak</li>
* <li>idMap : this is maintained by IdMapService</li>
* <li>leaderElectionId : this is maintained by OakViewChecker</li>
* <li>syncToken : this is maintained by SyncTokenService</li>
@@ -46,11 +46,11 @@ import org.slf4j.LoggerFactory;
* A successful join of a cluster instance to the topology requires all 4
* elements to be set (and maintained, in case of lease and syncToken)
* correctly.
- * <p/>
+ * <p>
* This PartialStartupDetector is in charge of ensuring that a newly joined
* instance has all these elements set. Otherwise it is considered a "partially
* started instance" (PSI) and suppressed.
- * <p/>
+ * <p>
* The suppression ensures that existing instances aren't blocked by a rogue,
* partially starting instance. However, there's also a timeout after which the
* suppression is no longer applied - at which point such a rogue instance will
@@ -191,4 +191,4 @@ public class PartialStartupDetector {
Collection<Integer> getPartiallyStartedClusterNodeIds() {
return partiallyStartedClusterNodeIds;
}
-}
\ No newline at end of file
+}