From 6b8ccb2d65022da90856b1325730268e96c65349 Mon Sep 17 00:00:00 2001 From: Kaushal Kumar Date: Tue, 9 Jul 2024 11:02:21 -0700 Subject: [PATCH] add min supported version in query group metadata Signed-off-by: Kaushal Kumar --- .../org/opensearch/cluster/metadata/QueryGroupMetadata.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/opensearch/cluster/metadata/QueryGroupMetadata.java b/server/src/main/java/org/opensearch/cluster/metadata/QueryGroupMetadata.java index 79732bc505ee2..f74b8beed7835 100644 --- a/server/src/main/java/org/opensearch/cluster/metadata/QueryGroupMetadata.java +++ b/server/src/main/java/org/opensearch/cluster/metadata/QueryGroupMetadata.java @@ -71,7 +71,7 @@ public String getWriteableName() { */ @Override public Version getMinimalSupportedVersion() { - return Version.V_3_0_0; + return Version.CURRENT.minimumCompatibilityVersion(); } @Override