Skip to content

Commit eddfe22

Browse files
committed
Tweak comment
1 parent dbb46a7 commit eddfe22

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

server/src/main/java/org/elasticsearch/features/InfrastructureFeatures.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@ public class InfrastructureFeatures implements FeatureSpecification {
2525
* Because PREVIOUS is marked as assumed, this doesn't stop N+1 nodes from joining the cluster.
2626
* A little table helps:
2727
*
28-
* Major | 8 | 9 | 10
29-
* ---------|-----|-----|-----
30-
* CURRENT | 8 | 9 | 10
31-
* PREVIOUS | 7 | 8 | 9
28+
* Major | 9 | 10 | 11
29+
* ---------|-----|---- |-----
30+
* CURRENT | 9 | 10 | 11
31+
* PREVIOUS | 8 | 9 | 10
3232
*
3333
* v9 knows about REST API 9 and 8. v10 knows about REST API 10 and 9.
34-
* A v10 node can join a v9 cluster, as the ES_V_8 feature known by v9 is assumed.
34+
* A v10 node can join a v9 cluster, as the ES_V_9 feature known by v9 is assumed.
3535
* But the v9 nodes don't know about ES_V_10, so that feature isn't active
3636
* on the v10 nodes until the cluster is fully upgraded,
3737
* at which point the ES_V_8 feature also disappears from the cluster.
3838
*
3939
* One thing you must not do is check the PREVIOUS_VERSION feature existence on the cluster,
40-
* as the answer will be wrong (eg v9 nodes will assume that v10 nodes have the v8 feature) - hence why it is private.
40+
* as the answer will be wrong (v9 nodes will assume that v19 nodes have the v8 feature) - hence why it is private.
4141
* That feature only exists here so that upgrades work to remove the feature from the cluster.
4242
*/
4343
public static final NodeFeature CURRENT_VERSION = new NodeFeature("ES_" + RestApiVersion.current());

0 commit comments

Comments
 (0)