From af6234b6af1dd6d0e645a0e3b06e62d25a6109ca Mon Sep 17 00:00:00 2001 From: Daniel Mitterdorfer Date: Thu, 5 Oct 2023 15:36:40 +0200 Subject: [PATCH] Use correct transport version --- server/src/main/java/org/elasticsearch/TransportVersions.java | 1 + .../java/org/elasticsearch/xpack/profiling/ProfilingUsage.java | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/TransportVersions.java b/server/src/main/java/org/elasticsearch/TransportVersions.java index c80383476b8c3..37ea55e9d6617 100644 --- a/server/src/main/java/org/elasticsearch/TransportVersions.java +++ b/server/src/main/java/org/elasticsearch/TransportVersions.java @@ -153,6 +153,7 @@ static TransportVersion def(int id) { public static final TransportVersion NODE_INFO_REQUEST_SIMPLIFIED = def(8_510_00_0); public static final TransportVersion NESTED_KNN_VECTOR_QUERY_V = def(8_511_00_0); public static final TransportVersion ML_PACKAGE_LOADER_PLATFORM_ADDED = def(8_512_00_0); + public static final TransportVersion UNIVERSAL_PROFILING_LICENSE_ADDED = def(8_513_00_0); /* * STOP! READ THIS FIRST! No, really, diff --git a/x-pack/plugin/profiling/src/main/java/org/elasticsearch/xpack/profiling/ProfilingUsage.java b/x-pack/plugin/profiling/src/main/java/org/elasticsearch/xpack/profiling/ProfilingUsage.java index 5d5443c27913c..e7d7e8ade468d 100644 --- a/x-pack/plugin/profiling/src/main/java/org/elasticsearch/xpack/profiling/ProfilingUsage.java +++ b/x-pack/plugin/profiling/src/main/java/org/elasticsearch/xpack/profiling/ProfilingUsage.java @@ -26,7 +26,6 @@ public ProfilingUsage(boolean available, boolean enabled) { @Override public TransportVersion getMinimalSupportedVersion() { - // TODO: This should probably say 8.11.0 but I'm not certain. Check with somebody what's appropriate. - return TransportVersions.V_8_8_1; + return TransportVersions.UNIVERSAL_PROFILING_LICENSE_ADDED; } }