From 3f2b920ca81b545219547857150a02003e95942e Mon Sep 17 00:00:00 2001 From: Mark Vieira Date: Tue, 23 Aug 2022 09:49:48 -0700 Subject: [PATCH] Don't try to disable ML on incompatible versions --- x-pack/qa/repository-old-versions/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/qa/repository-old-versions/build.gradle b/x-pack/qa/repository-old-versions/build.gradle index cd5b4c1d986e8..3bebfdc151810 100644 --- a/x-pack/qa/repository-old-versions/build.gradle +++ b/x-pack/qa/repository-old-versions/build.gradle @@ -115,7 +115,7 @@ if (Os.isFamily(Os.FAMILY_WINDOWS)) { false, "path.repo: ${repoLocation}", "path.data: ${dataPath}" - if ((version.onOrAfter('6.8.0') && Architecture.current() == Architecture.AARCH64) || BwcVersions.isMlCompatible(version) == false) { + if ((version.onOrAfter('6.8.0') && Architecture.current() == Architecture.AARCH64) || (version.onOrAfter("6.4.0") && BwcVersions.isMlCompatible(version) == false)) { // We need to explicitly disable ML when running old ES versions on ARM or on systems with newer GLIBC args 'xpack.ml.enabled: false' }