Skip to content

Commit e673b61

Browse files
authored
Update the support version to 2.13 as term-check is merged to 2.x (opensearch-project#12830)
Signed-off-by: Rajiv Kumar Vaidyanathan <rajivkv@amazon.com>
1 parent fd458d6 commit e673b61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/java/org/opensearch/action/support/clustermanager/TransportClusterManagerNodeAction.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
import java.util.function.Consumer;
7979
import java.util.function.Predicate;
8080

81-
import static org.opensearch.Version.V_3_0_0;
81+
import static org.opensearch.Version.V_2_13_0;
8282

8383
/**
8484
* A base class for operations that needs to be performed on the cluster-manager node.
@@ -299,7 +299,7 @@ protected void doStart(ClusterState clusterState) {
299299
retryOnMasterChange(clusterState, null);
300300
} else {
301301
DiscoveryNode clusterManagerNode = nodes.getClusterManagerNode();
302-
if (clusterManagerNode.getVersion().onOrAfter(V_3_0_0) && localExecuteSupportedByAction()) {
302+
if (clusterManagerNode.getVersion().onOrAfter(V_2_13_0) && localExecuteSupportedByAction()) {
303303
BiConsumer<DiscoveryNode, ClusterState> executeOnLocalOrClusterManager = clusterStateLatestChecker(
304304
this::executeOnLocalNode,
305305
this::executeOnClusterManager

0 commit comments

Comments
 (0)