Merge main into multi-project

This commit is contained in:
Yang Wang 2025-01-06 13:30:02 +11:00
commit e1151ef1ba
743 changed files with 7309 additions and 3968 deletions

View file

@ -1,400 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
package org.elasticsearch.benchmark.index.mapper;
import org.elasticsearch.common.UUIDs;
import org.elasticsearch.common.bytes.BytesReference;
import org.elasticsearch.common.logging.LogConfigurator;
import org.elasticsearch.index.mapper.LuceneDocument;
import org.elasticsearch.index.mapper.MapperService;
import org.elasticsearch.index.mapper.SourceToParse;
import org.elasticsearch.xcontent.XContentBuilder;
import org.elasticsearch.xcontent.XContentType;
import org.openjdk.jmh.annotations.Benchmark;
import org.openjdk.jmh.annotations.BenchmarkMode;
import org.openjdk.jmh.annotations.Fork;
import org.openjdk.jmh.annotations.Measurement;
import org.openjdk.jmh.annotations.Mode;
import org.openjdk.jmh.annotations.OutputTimeUnit;
import org.openjdk.jmh.annotations.Scope;
import org.openjdk.jmh.annotations.Setup;
import org.openjdk.jmh.annotations.State;
import org.openjdk.jmh.annotations.Warmup;
import java.io.IOException;
import java.util.List;
import java.util.Random;
import java.util.concurrent.TimeUnit;
@Fork(value = 1)
@Warmup(iterations = 5)
@Measurement(iterations = 5)
@BenchmarkMode(Mode.Throughput)
@OutputTimeUnit(TimeUnit.SECONDS)
@State(Scope.Benchmark)
public class LogsDbDocumentParsingBenchmark {
private Random random;
private MapperService mapperServiceEnabled;
private MapperService mapperServiceEnabledWithStoreArrays;
private MapperService mapperServiceDisabled;
private SourceToParse[] documents;
static {
LogConfigurator.configureESLogging(); // doc values implementations need logging
}
private static String SAMPLE_LOGS_MAPPING_ENABLED = """
{
"_source": {
"mode": "synthetic"
},
"properties": {
"kafka": {
"properties": {
"log": {
"properties": {
"component": {
"ignore_above": 1024,
"type": "keyword"
},
"trace": {
"properties": {
"message": {
"type": "text"
},
"class": {
"ignore_above": 1024,
"type": "keyword"
}
}
},
"thread": {
"ignore_above": 1024,
"type": "keyword"
},
"class": {
"ignore_above": 1024,
"type": "keyword"
}
}
}
}
},
"host": {
"properties": {
"hostname": {
"ignore_above": 1024,
"type": "keyword"
},
"os": {
"properties": {
"build": {
"ignore_above": 1024,
"type": "keyword"
},
"kernel": {
"ignore_above": 1024,
"type": "keyword"
},
"codename": {
"ignore_above": 1024,
"type": "keyword"
},
"name": {
"ignore_above": 1024,
"type": "keyword",
"fields": {
"text": {
"type": "text"
}
}
},
"family": {
"ignore_above": 1024,
"type": "keyword"
},
"version": {
"ignore_above": 1024,
"type": "keyword"
},
"platform": {
"ignore_above": 1024,
"type": "keyword"
}
}
},
"domain": {
"ignore_above": 1024,
"type": "keyword"
},
"ip": {
"type": "ip"
},
"containerized": {
"type": "boolean"
},
"name": {
"ignore_above": 1024,
"type": "keyword"
},
"id": {
"ignore_above": 1024,
"type": "keyword"
},
"type": {
"ignore_above": 1024,
"type": "keyword"
},
"mac": {
"ignore_above": 1024,
"type": "keyword"
},
"architecture": {
"ignore_above": 1024,
"type": "keyword"
}
}
}
}
}
""";
private static String SAMPLE_LOGS_MAPPING_ENABLED_WITH_STORE_ARRAYS = """
{
"_source": {
"mode": "synthetic"
},
"properties": {
"kafka": {
"properties": {
"log": {
"properties": {
"component": {
"ignore_above": 1024,
"type": "keyword"
},
"trace": {
"synthetic_source_keep": "arrays",
"properties": {
"message": {
"type": "text"
},
"class": {
"ignore_above": 1024,
"type": "keyword"
}
}
},
"thread": {
"ignore_above": 1024,
"type": "keyword"
},
"class": {
"ignore_above": 1024,
"type": "keyword"
}
}
}
}
},
"host": {
"properties": {
"hostname": {
"ignore_above": 1024,
"type": "keyword"
},
"os": {
"properties": {
"build": {
"ignore_above": 1024,
"type": "keyword"
},
"kernel": {
"ignore_above": 1024,
"type": "keyword"
},
"codename": {
"ignore_above": 1024,
"type": "keyword"
},
"name": {
"ignore_above": 1024,
"type": "keyword",
"fields": {
"text": {
"type": "text"
}
}
},
"family": {
"ignore_above": 1024,
"type": "keyword"
},
"version": {
"ignore_above": 1024,
"type": "keyword"
},
"platform": {
"ignore_above": 1024,
"type": "keyword"
}
}
},
"domain": {
"ignore_above": 1024,
"type": "keyword"
},
"ip": {
"type": "ip"
},
"containerized": {
"type": "boolean"
},
"name": {
"ignore_above": 1024,
"type": "keyword"
},
"id": {
"ignore_above": 1024,
"type": "keyword"
},
"type": {
"ignore_above": 1024,
"type": "keyword"
},
"mac": {
"ignore_above": 1024,
"type": "keyword"
},
"architecture": {
"ignore_above": 1024,
"type": "keyword"
}
}
}
}
}
""";
private static String SAMPLE_LOGS_MAPPING_DISABLED = """
{
"_source": {
"mode": "synthetic"
},
"enabled": false
}
""";
@Setup
public void setUp() throws IOException {
this.random = new Random();
this.mapperServiceEnabled = MapperServiceFactory.create(SAMPLE_LOGS_MAPPING_ENABLED);
this.mapperServiceEnabledWithStoreArrays = MapperServiceFactory.create(SAMPLE_LOGS_MAPPING_ENABLED_WITH_STORE_ARRAYS);
this.mapperServiceDisabled = MapperServiceFactory.create(SAMPLE_LOGS_MAPPING_DISABLED);
this.documents = generateRandomDocuments(10_000);
}
@Benchmark
public List<LuceneDocument> benchmarkEnabledObject() {
return mapperServiceEnabled.documentMapper().parse(randomFrom(documents)).docs();
}
@Benchmark
public List<LuceneDocument> benchmarkEnabledObjectWithStoreArrays() {
return mapperServiceEnabledWithStoreArrays.documentMapper().parse(randomFrom(documents)).docs();
}
@Benchmark
public List<LuceneDocument> benchmarkDisabledObject() {
return mapperServiceDisabled.documentMapper().parse(randomFrom(documents)).docs();
}
@SafeVarargs
@SuppressWarnings("varargs")
private <T> T randomFrom(T... items) {
return items[random.nextInt(items.length)];
}
private SourceToParse[] generateRandomDocuments(int count) throws IOException {
var docs = new SourceToParse[count];
for (int i = 0; i < count; i++) {
docs[i] = generateRandomDocument();
}
return docs;
}
private SourceToParse generateRandomDocument() throws IOException {
var builder = XContentBuilder.builder(XContentType.JSON.xContent());
builder.startObject();
builder.startObject("kafka");
{
builder.startObject("log");
{
builder.field("component", randomString(10));
builder.startArray("trace");
{
builder.startObject();
{
builder.field("message", randomString(50));
builder.field("class", randomString(10));
}
builder.endObject();
builder.startObject();
{
builder.field("message", randomString(50));
builder.field("class", randomString(10));
}
builder.endObject();
}
builder.endArray();
builder.field("thread", randomString(10));
builder.field("class", randomString(10));
}
builder.endObject();
}
builder.endObject();
builder.startObject("host");
{
builder.field("hostname", randomString(10));
builder.startObject("os");
{
builder.field("name", randomString(10));
}
builder.endObject();
builder.field("domain", randomString(10));
builder.field("ip", randomIp());
builder.field("name", randomString(10));
}
builder.endObject();
builder.endObject();
return new SourceToParse(UUIDs.randomBase64UUID(), BytesReference.bytes(builder), XContentType.JSON);
}
private String randomIp() {
return "" + random.nextInt(255) + '.' + random.nextInt(255) + '.' + random.nextInt(255) + '.' + random.nextInt(255);
}
private String randomString(int maxLength) {
var length = random.nextInt(maxLength);
var builder = new StringBuilder(length);
for (int i = 0; i < length; i++) {
builder.append((byte) (32 + random.nextInt(94)));
}
return builder.toString();
}
}

View file

@ -22,7 +22,7 @@ public enum DockerBase {
// Chainguard based wolfi image with latest jdk // Chainguard based wolfi image with latest jdk
// This is usually updated via renovatebot // This is usually updated via renovatebot
// spotless:off // spotless:off
WOLFI("docker.elastic.co/wolfi/chainguard-base:latest@sha256:bfdeddb33330a281950c2a54adef991dbbe6a42832bc505d13b11beaf50ae73f", WOLFI("docker.elastic.co/wolfi/chainguard-base:latest@sha256:eef54b3a414aa53b98f0f8df2633aed83c3ba6230722769282925442968f0364",
"-wolfi", "-wolfi",
"apk" "apk"
), ),

View file

@ -134,14 +134,14 @@ public class InternalDistributionArchiveSetupPlugin implements Plugin<Project> {
}); });
File pluginsDir = new File(project.getBuildDir(), "plugins-hack/plugins"); File pluginsDir = new File(project.getBuildDir(), "plugins-hack/plugins");
project.getExtensions().add("pluginsDir", pluginsDir); project.getExtensions().getExtraProperties().set("pluginsDir", pluginsDir);
project.getTasks().register("createPluginsDir", EmptyDirTask.class, t -> { project.getTasks().register("createPluginsDir", EmptyDirTask.class, t -> {
t.setDir(pluginsDir); t.setDir(pluginsDir);
t.setDirMode(0755); t.setDirMode(0755);
}); });
File jvmOptionsDir = new File(project.getBuildDir(), "jvm-options-hack/jvm.options.d"); File jvmOptionsDir = new File(project.getBuildDir(), "jvm-options-hack/jvm.options.d");
project.getExtensions().add("jvmOptionsDir", jvmOptionsDir); project.getExtensions().getExtraProperties().set("jvmOptionsDir", jvmOptionsDir);
project.getTasks().register("createJvmOptionsDir", EmptyDirTask.class, t -> { project.getTasks().register("createJvmOptionsDir", EmptyDirTask.class, t -> {
t.setDir(jvmOptionsDir); t.setDir(jvmOptionsDir);
t.setDirMode(0750); t.setDirMode(0750);

View file

@ -42,7 +42,8 @@ public class CheckstylePrecommitPlugin extends PrecommitPlugin {
File checkstyleDir = new File(project.getBuildDir(), "checkstyle"); File checkstyleDir = new File(project.getBuildDir(), "checkstyle");
File checkstyleSuppressions = new File(checkstyleDir, "checkstyle_suppressions.xml"); File checkstyleSuppressions = new File(checkstyleDir, "checkstyle_suppressions.xml");
File checkstyleConf = new File(checkstyleDir, "checkstyle.xml"); File checkstyleConf = new File(checkstyleDir, "checkstyle.xml");
TaskProvider<Task> copyCheckstyleConf = project.getTasks().register("copyCheckstyleConf"); TaskProvider<CopyCheckStyleConfTask> copyCheckstyleConf = project.getTasks()
.register("copyCheckstyleConf", CopyCheckStyleConfTask.class);
// configure inputs and outputs so up to date works properly // configure inputs and outputs so up to date works properly
copyCheckstyleConf.configure(t -> t.getOutputs().files(checkstyleSuppressions, checkstyleConf)); copyCheckstyleConf.configure(t -> t.getOutputs().files(checkstyleSuppressions, checkstyleConf));
if ("jar".equals(checkstyleConfUrl.getProtocol())) { if ("jar".equals(checkstyleConfUrl.getProtocol())) {

View file

@ -0,0 +1,21 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
package org.elasticsearch.gradle.internal.precommit;
import org.gradle.api.DefaultTask;
import org.gradle.api.file.FileSystemOperations;
import javax.inject.Inject;
public abstract class CopyCheckStyleConfTask extends DefaultTask {
@Inject
public abstract FileSystemOperations getFs();
}

View file

@ -31,6 +31,7 @@ import org.gradle.api.Task;
import org.gradle.api.artifacts.Configuration; import org.gradle.api.artifacts.Configuration;
import org.gradle.api.artifacts.dsl.DependencyHandler; import org.gradle.api.artifacts.dsl.DependencyHandler;
import org.gradle.api.artifacts.type.ArtifactTypeDefinition; import org.gradle.api.artifacts.type.ArtifactTypeDefinition;
import org.gradle.api.file.FileCollection;
import org.gradle.api.plugins.JavaPluginExtension; import org.gradle.api.plugins.JavaPluginExtension;
import org.gradle.api.provider.Provider; import org.gradle.api.provider.Provider;
import org.gradle.api.specs.Specs; import org.gradle.api.specs.Specs;
@ -88,8 +89,8 @@ public class DistroTestPlugin implements Plugin<Project> {
Map<String, TaskProvider<?>> versionTasks = versionTasks(project, "destructiveDistroUpgradeTest", buildParams.getBwcVersions()); Map<String, TaskProvider<?>> versionTasks = versionTasks(project, "destructiveDistroUpgradeTest", buildParams.getBwcVersions());
TaskProvider<Task> destructiveDistroTest = project.getTasks().register("destructiveDistroTest"); TaskProvider<Task> destructiveDistroTest = project.getTasks().register("destructiveDistroTest");
Configuration examplePlugin = configureExamplePlugin(project); Configuration examplePluginConfiguration = configureExamplePlugin(project);
FileCollection examplePluginFileCollection = examplePluginConfiguration;
List<TaskProvider<Test>> windowsTestTasks = new ArrayList<>(); List<TaskProvider<Test>> windowsTestTasks = new ArrayList<>();
Map<ElasticsearchDistributionType, List<TaskProvider<Test>>> linuxTestTasks = new HashMap<>(); Map<ElasticsearchDistributionType, List<TaskProvider<Test>>> linuxTestTasks = new HashMap<>();
@ -102,9 +103,9 @@ public class DistroTestPlugin implements Plugin<Project> {
t2 -> distribution.isDocker() == false || dockerSupport.get().getDockerAvailability().isAvailable() t2 -> distribution.isDocker() == false || dockerSupport.get().getDockerAvailability().isAvailable()
); );
addDistributionSysprop(t, DISTRIBUTION_SYSPROP, distribution::getFilepath); addDistributionSysprop(t, DISTRIBUTION_SYSPROP, distribution::getFilepath);
addDistributionSysprop(t, EXAMPLE_PLUGIN_SYSPROP, () -> examplePlugin.getSingleFile().toString()); addDistributionSysprop(t, EXAMPLE_PLUGIN_SYSPROP, () -> examplePluginFileCollection.getSingleFile().toString());
t.exclude("**/PackageUpgradeTests.class"); t.exclude("**/PackageUpgradeTests.class");
}, distribution, examplePlugin.getDependencies()); }, distribution, examplePluginConfiguration.getDependencies());
if (distribution.getPlatform() == Platform.WINDOWS) { if (distribution.getPlatform() == Platform.WINDOWS) {
windowsTestTasks.add(destructiveTask); windowsTestTasks.add(destructiveTask);

View file

@ -54,16 +54,16 @@ public abstract class OracleOpenJdkToolchainResolver extends AbstractCustomJavaT
} }
} }
record EarlyAccessJdkBuild(JavaLanguageVersion languageVersion, String version, String buildNumber) implements JdkBuild { record EarlyAccessJdkBuild(JavaLanguageVersion languageVersion) implements JdkBuild {
@Override @Override
public String url(String os, String arch, String extension) { public String url(String os, String arch, String extension) {
String buildNumber = resolveBuildNumber(languageVersion.asInt());
return "https://download.java.net/java/early_access/jdk" return "https://download.java.net/java/early_access/jdk"
+ version + languageVersion.asInt()
+ "/" + "/"
+ version + buildNumber
+ "/GPL/openjdk-" + "/GPL/openjdk-"
+ version + languageVersion.asInt()
+ "-ea+" + "-ea+"
+ buildNumber + buildNumber
+ "_" + "_"
@ -73,6 +73,29 @@ public abstract class OracleOpenJdkToolchainResolver extends AbstractCustomJavaT
+ "_bin." + "_bin."
+ extension; + extension;
} }
private static String resolveBuildNumber(int version) {
String buildNumber = System.getProperty("runtime.java." + version + ".build");
if (buildNumber != null) {
System.out.println("buildNumber = " + buildNumber);
return buildNumber;
}
buildNumber = System.getProperty("runtime.java.build");
if (buildNumber != null) {
System.out.println("buildNumber2 = " + buildNumber);
return buildNumber;
}
switch (version) {
case 24:
// latest explicitly found build number for 24
return "29";
case 25:
return "3";
default:
throw new IllegalArgumentException("Unsupported version " + version);
}
}
} }
private static final Pattern VERSION_PATTERN = Pattern.compile( private static final Pattern VERSION_PATTERN = Pattern.compile(
@ -88,8 +111,8 @@ public abstract class OracleOpenJdkToolchainResolver extends AbstractCustomJavaT
// package private so it can be replaced by tests // package private so it can be replaced by tests
List<JdkBuild> builds = List.of( List<JdkBuild> builds = List.of(
getBundledJdkBuild(), getBundledJdkBuild(),
// 23 early access new EarlyAccessJdkBuild(JavaLanguageVersion.of(24)),
new EarlyAccessJdkBuild(JavaLanguageVersion.of(23), "23", "24") new EarlyAccessJdkBuild(JavaLanguageVersion.of(25))
); );
private JdkBuild getBundledJdkBuild() { private JdkBuild getBundledJdkBuild() {

View file

@ -9,6 +9,8 @@
package org.elasticsearch.gradle.internal.toolchain package org.elasticsearch.gradle.internal.toolchain
import spock.lang.Unroll
import org.gradle.api.provider.Property import org.gradle.api.provider.Property
import org.gradle.jvm.toolchain.JavaLanguageVersion import org.gradle.jvm.toolchain.JavaLanguageVersion
import org.gradle.jvm.toolchain.JavaToolchainDownload import org.gradle.jvm.toolchain.JavaToolchainDownload
@ -26,6 +28,7 @@ import static org.gradle.platform.OperatingSystem.MAC_OS
abstract class AbstractToolchainResolverSpec extends Specification { abstract class AbstractToolchainResolverSpec extends Specification {
@Unroll
def "resolves #os #arch #vendor jdk #langVersion"() { def "resolves #os #arch #vendor jdk #langVersion"() {
given: given:
def resolver = resolverImplementation() def resolver = resolverImplementation()

View file

@ -9,15 +9,20 @@
package org.elasticsearch.gradle.internal.toolchain package org.elasticsearch.gradle.internal.toolchain
import spock.util.environment.RestoreSystemProperties
import org.gradle.api.services.BuildServiceParameters import org.gradle.api.services.BuildServiceParameters
import org.gradle.jvm.toolchain.JavaLanguageVersion import org.gradle.jvm.toolchain.JavaLanguageVersion
import org.gradle.jvm.toolchain.JavaToolchainDownload
import static org.gradle.jvm.toolchain.JvmVendorSpec.ORACLE import static org.gradle.jvm.toolchain.JvmVendorSpec.ORACLE
import static org.gradle.platform.Architecture.* import static org.gradle.platform.Architecture.AARCH64
import static org.gradle.platform.Architecture.X86_64
import static org.gradle.platform.OperatingSystem.* import static org.gradle.platform.OperatingSystem.*
class OracleOpenJdkToolchainResolverSpec extends AbstractToolchainResolverSpec { class OracleOpenJdkToolchainResolverSpec extends AbstractToolchainResolverSpec {
OracleOpenJdkToolchainResolver resolverImplementation() { OracleOpenJdkToolchainResolver resolverImplementation() {
var toolChain = new OracleOpenJdkToolchainResolver() { var toolChain = new OracleOpenJdkToolchainResolver() {
@Override @Override
@ -25,10 +30,13 @@ class OracleOpenJdkToolchainResolverSpec extends AbstractToolchainResolverSpec {
return null return null
} }
} }
toolChain.builds = [ toolChain.builds = toolChain.builds.findAll { it instanceof OracleOpenJdkToolchainResolver.EarlyAccessJdkBuild } + [
new OracleOpenJdkToolchainResolver.ReleasedJdkBuild(JavaLanguageVersion.of(20), "20", "36", "bdc68b4b9cbc4ebcb30745c85038d91d"), new OracleOpenJdkToolchainResolver.ReleasedJdkBuild(
new OracleOpenJdkToolchainResolver.EarlyAccessJdkBuild(JavaLanguageVersion.of(21), "21", "6") JavaLanguageVersion.of(20),
] "20",
"36",
"bdc68b4b9cbc4ebcb30745c85038d91d"
)]
toolChain toolChain
} }
@ -44,23 +52,67 @@ class OracleOpenJdkToolchainResolverSpec extends AbstractToolchainResolverSpec {
[20, anyVendor(), LINUX, AARCH64, "https://download.oracle.com/java/GA/jdk20/bdc68b4b9cbc4ebcb30745c85038d91d/36/GPL/openjdk-20_linux-aarch64_bin.tar.gz"], [20, anyVendor(), LINUX, AARCH64, "https://download.oracle.com/java/GA/jdk20/bdc68b4b9cbc4ebcb30745c85038d91d/36/GPL/openjdk-20_linux-aarch64_bin.tar.gz"],
[20, anyVendor(), WINDOWS, X86_64, "https://download.oracle.com/java/GA/jdk20/bdc68b4b9cbc4ebcb30745c85038d91d/36/GPL/openjdk-20_windows-x64_bin.zip"], [20, anyVendor(), WINDOWS, X86_64, "https://download.oracle.com/java/GA/jdk20/bdc68b4b9cbc4ebcb30745c85038d91d/36/GPL/openjdk-20_windows-x64_bin.zip"],
// https://download.java.net/java/early_access/jdk23/23/GPL/openjdk-23-ea+23_macos-aarch64_bin.tar.gz // https://download.java.net/java/early_access/jdk23/23/GPL/openjdk-23-ea+23_macos-aarch64_bin.tar.gz
[21, ORACLE, MAC_OS, X86_64, "https://download.java.net/java/early_access/jdk21/21/GPL/openjdk-21-ea+6_macos-x64_bin.tar.gz"], [24, ORACLE, MAC_OS, X86_64, "https://download.java.net/java/early_access/jdk24/29/GPL/openjdk-24-ea+29_macos-x64_bin.tar.gz"],
[21, ORACLE, MAC_OS, AARCH64, "https://download.java.net/java/early_access/jdk21/21/GPL/openjdk-21-ea+6_macos-aarch64_bin.tar.gz"], [24, ORACLE, MAC_OS, AARCH64, "https://download.java.net/java/early_access/jdk24/29/GPL/openjdk-24-ea+29_macos-aarch64_bin.tar.gz"],
[21, ORACLE, LINUX, X86_64, "https://download.java.net/java/early_access/jdk21/21/GPL/openjdk-21-ea+6_linux-x64_bin.tar.gz"], [24, ORACLE, LINUX, X86_64, "https://download.java.net/java/early_access/jdk24/29/GPL/openjdk-24-ea+29_linux-x64_bin.tar.gz"],
[21, ORACLE, LINUX, AARCH64, "https://download.java.net/java/early_access/jdk21/21/GPL/openjdk-21-ea+6_linux-aarch64_bin.tar.gz"], [24, ORACLE, LINUX, AARCH64, "https://download.java.net/java/early_access/jdk24/29/GPL/openjdk-24-ea+29_linux-aarch64_bin.tar.gz"],
[21, ORACLE, WINDOWS, X86_64, "https://download.java.net/java/early_access/jdk21/21/GPL/openjdk-21-ea+6_windows-x64_bin.zip"], [24, ORACLE, WINDOWS, X86_64, "https://download.java.net/java/early_access/jdk24/29/GPL/openjdk-24-ea+29_windows-x64_bin.zip"],
[21, anyVendor(), MAC_OS, X86_64, "https://download.java.net/java/early_access/jdk21/21/GPL/openjdk-21-ea+6_macos-x64_bin.tar.gz"], [24, anyVendor(), MAC_OS, X86_64, "https://download.java.net/java/early_access/jdk24/29/GPL/openjdk-24-ea+29_macos-x64_bin.tar.gz"],
[21, anyVendor(), MAC_OS, AARCH64, "https://download.java.net/java/early_access/jdk21/21/GPL/openjdk-21-ea+6_macos-aarch64_bin.tar.gz"], [24, anyVendor(), MAC_OS, AARCH64, "https://download.java.net/java/early_access/jdk24/29/GPL/openjdk-24-ea+29_macos-aarch64_bin.tar.gz"],
[21, anyVendor(), LINUX, X86_64, "https://download.java.net/java/early_access/jdk21/21/GPL/openjdk-21-ea+6_linux-x64_bin.tar.gz"], [24, anyVendor(), LINUX, X86_64, "https://download.java.net/java/early_access/jdk24/29/GPL/openjdk-24-ea+29_linux-x64_bin.tar.gz"],
[21, anyVendor(), LINUX, AARCH64, "https://download.java.net/java/early_access/jdk21/21/GPL/openjdk-21-ea+6_linux-aarch64_bin.tar.gz"], [24, anyVendor(), LINUX, AARCH64, "https://download.java.net/java/early_access/jdk24/29/GPL/openjdk-24-ea+29_linux-aarch64_bin.tar.gz"],
[21, anyVendor(), WINDOWS, X86_64, "https://download.java.net/java/early_access/jdk21/21/GPL/openjdk-21-ea+6_windows-x64_bin.zip"] [24, anyVendor(), WINDOWS, X86_64, "https://download.java.net/java/early_access/jdk24/29/GPL/openjdk-24-ea+29_windows-x64_bin.zip"]]
] }
@RestoreSystemProperties
def "can provide build number for ea versions"() {
given:
System.setProperty('runtime.java.build', "42")
System.setProperty('runtime.java.25.build', "13")
def resolver = resolverImplementation()
when:
Optional<JavaToolchainDownload> download = resolver.resolve(
request(
JavaLanguageVersion.of(version),
vendor,
platform(os, arch)
)
)
then:
download.get().uri == URI.create(expectedUrl)
where:
version | vendor | os | arch | expectedUrl
24 | ORACLE | MAC_OS | X86_64 | urlPrefix(24) + "42/GPL/openjdk-24-ea+42_macos-x64_bin.tar.gz"
24 | ORACLE | MAC_OS | AARCH64 | urlPrefix(24) + "42/GPL/openjdk-24-ea+42_macos-aarch64_bin.tar.gz"
24 | ORACLE | LINUX | X86_64 | urlPrefix(24) + "42/GPL/openjdk-24-ea+42_linux-x64_bin.tar.gz"
24 | ORACLE | LINUX | AARCH64 | urlPrefix(24) + "42/GPL/openjdk-24-ea+42_linux-aarch64_bin.tar.gz"
24 | ORACLE | WINDOWS | X86_64 | urlPrefix(24) + "42/GPL/openjdk-24-ea+42_windows-x64_bin.zip"
24 | anyVendor() | MAC_OS | X86_64 | urlPrefix(24) + "42/GPL/openjdk-24-ea+42_macos-x64_bin.tar.gz"
24 | anyVendor() | MAC_OS | AARCH64 | urlPrefix(24) + "42/GPL/openjdk-24-ea+42_macos-aarch64_bin.tar.gz"
24 | anyVendor() | LINUX | X86_64 | urlPrefix(24) + "42/GPL/openjdk-24-ea+42_linux-x64_bin.tar.gz"
24 | anyVendor() | LINUX | AARCH64 | urlPrefix(24) + "42/GPL/openjdk-24-ea+42_linux-aarch64_bin.tar.gz"
24 | anyVendor() | WINDOWS | X86_64 | urlPrefix(24) + "42/GPL/openjdk-24-ea+42_windows-x64_bin.zip"
25 | ORACLE | MAC_OS | X86_64 | urlPrefix(25) + "13/GPL/openjdk-25-ea+13_macos-x64_bin.tar.gz"
25 | ORACLE | MAC_OS | AARCH64 | urlPrefix(25) + "13/GPL/openjdk-25-ea+13_macos-aarch64_bin.tar.gz"
25 | ORACLE | LINUX | X86_64 | urlPrefix(25) + "13/GPL/openjdk-25-ea+13_linux-x64_bin.tar.gz"
25 | ORACLE | LINUX | AARCH64 | urlPrefix(25) + "13/GPL/openjdk-25-ea+13_linux-aarch64_bin.tar.gz"
25 | ORACLE | WINDOWS | X86_64 | urlPrefix(25) + "13/GPL/openjdk-25-ea+13_windows-x64_bin.zip"
25 | anyVendor() | MAC_OS | X86_64 | urlPrefix(25) + "13/GPL/openjdk-25-ea+13_macos-x64_bin.tar.gz"
25 | anyVendor() | MAC_OS | AARCH64 | urlPrefix(25) + "13/GPL/openjdk-25-ea+13_macos-aarch64_bin.tar.gz"
25 | anyVendor() | LINUX | X86_64 | urlPrefix(25) + "13/GPL/openjdk-25-ea+13_linux-x64_bin.tar.gz"
25 | anyVendor() | LINUX | AARCH64 | urlPrefix(25) + "13/GPL/openjdk-25-ea+13_linux-aarch64_bin.tar.gz"
25 | anyVendor() | WINDOWS | X86_64 | urlPrefix(25) + "13/GPL/openjdk-25-ea+13_windows-x64_bin.zip"
}
private static String urlPrefix(int i) {
return "https://download.java.net/java/early_access/jdk" + i + "/"
} }
def unsupportedRequests() { def unsupportedRequests() {
[ [[20, ORACLE, WINDOWS, AARCH64]]
[20, ORACLE, WINDOWS, AARCH64]
]
} }
} }

View file

@ -127,7 +127,7 @@ ext.expansions = { Architecture architecture, DockerBase base ->
'bin_dir' : base == DockerBase.IRON_BANK ? 'scripts' : 'bin', 'bin_dir' : base == DockerBase.IRON_BANK ? 'scripts' : 'bin',
'build_date' : buildDate, 'build_date' : buildDate,
'config_dir' : base == DockerBase.IRON_BANK ? 'scripts' : 'config', 'config_dir' : base == DockerBase.IRON_BANK ? 'scripts' : 'config',
'git_revision' : buildParams.gitRevision, 'git_revision' : buildParams.gitRevision.get(),
'license' : base == DockerBase.IRON_BANK ? 'Elastic License 2.0' : 'Elastic-License-2.0', 'license' : base == DockerBase.IRON_BANK ? 'Elastic License 2.0' : 'Elastic-License-2.0',
'package_manager' : base.packageManager, 'package_manager' : base.packageManager,
'docker_base' : base.name().toLowerCase(), 'docker_base' : base.name().toLowerCase(),
@ -551,6 +551,7 @@ subprojects { Project subProject ->
inputs.file("${parent.projectDir}/build/markers/${buildTaskName}.marker") inputs.file("${parent.projectDir}/build/markers/${buildTaskName}.marker")
executable = 'docker' executable = 'docker'
outputs.file(tarFile) outputs.file(tarFile)
outputs.doNotCacheIf("Build cache is disabled for export tasks") { true }
args "save", args "save",
"-o", "-o",
tarFile, tarFile,

View file

@ -0,0 +1,5 @@
pr: 118599
summary: Archive-Index upgrade compatibility
area: Search
type: enhancement
issues: []

View file

@ -0,0 +1,5 @@
pr: 118959
summary: Allow kibana_system user to manage .reindexed-v8-internal.alerts indices
area: Authorization
type: enhancement
issues: []

View file

@ -0,0 +1,6 @@
pr: 119054
summary: "[Security Solution] allows `kibana_system` user to manage .reindexed-v8-*\
\ Security Solution indices"
area: Authorization
type: enhancement
issues: []

View file

@ -0,0 +1,5 @@
pr: 119233
summary: Fixing `GetDatabaseConfigurationAction` response serialization
area: Ingest Node
type: bug
issues: []

View file

@ -0,0 +1,5 @@
pr: 119474
summary: "Add ES|QL cross-cluster query telemetry collection"
area: ES|QL
type: enhancement
issues: []

View file

@ -0,0 +1,6 @@
pr: 119476
summary: Fix TopN row size estimate
area: ES|QL
type: bug
issues:
- 106956

View file

@ -0,0 +1,5 @@
pr: 119495
summary: Add mapping for `event_name` for OTel logs
area: Data streams
type: enhancement
issues: []

View file

@ -0,0 +1,5 @@
pr: 119516
summary: "Fix: do not let `_resolve/cluster` hang if remote is unresponsive"
area: Search
type: bug
issues: []

View file

@ -4,7 +4,7 @@
<titleabbrev>cat aliases</titleabbrev> <titleabbrev>cat aliases</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -4,7 +4,7 @@
<titleabbrev>cat allocation</titleabbrev> <titleabbrev>cat allocation</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -5,7 +5,7 @@
<titleabbrev>cat anomaly detectors</titleabbrev> <titleabbrev>cat anomaly detectors</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -4,7 +4,7 @@
<titleabbrev>cat component templates</titleabbrev> <titleabbrev>cat component templates</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -4,7 +4,7 @@
<titleabbrev>cat count</titleabbrev> <titleabbrev>cat count</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -5,7 +5,7 @@
<titleabbrev>cat {dfeeds}</titleabbrev> <titleabbrev>cat {dfeeds}</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -5,7 +5,7 @@
<titleabbrev>cat {dfanalytics}</titleabbrev> <titleabbrev>cat {dfanalytics}</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -4,7 +4,7 @@
<titleabbrev>cat fielddata</titleabbrev> <titleabbrev>cat fielddata</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -4,7 +4,7 @@
<titleabbrev>cat health</titleabbrev> <titleabbrev>cat health</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -4,7 +4,7 @@
<titleabbrev>cat indices</titleabbrev> <titleabbrev>cat indices</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -4,7 +4,7 @@
<titleabbrev>cat master</titleabbrev> <titleabbrev>cat master</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -4,7 +4,7 @@
<titleabbrev>cat nodeattrs</titleabbrev> <titleabbrev>cat nodeattrs</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -5,7 +5,7 @@
<titleabbrev>cat nodes</titleabbrev> <titleabbrev>cat nodes</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -4,7 +4,7 @@
<titleabbrev>cat pending tasks</titleabbrev> <titleabbrev>cat pending tasks</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -4,7 +4,7 @@
<titleabbrev>cat plugins</titleabbrev> <titleabbrev>cat plugins</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -4,7 +4,7 @@
<titleabbrev>cat recovery</titleabbrev> <titleabbrev>cat recovery</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -4,7 +4,7 @@
<titleabbrev>cat repositories</titleabbrev> <titleabbrev>cat repositories</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -4,7 +4,7 @@
<titleabbrev>cat segments</titleabbrev> <titleabbrev>cat segments</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -5,7 +5,7 @@
<titleabbrev>cat shards</titleabbrev> <titleabbrev>cat shards</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -4,7 +4,7 @@
<titleabbrev>cat snapshots</titleabbrev> <titleabbrev>cat snapshots</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -6,7 +6,7 @@
beta::["The cat task management API is new and should still be considered a beta feature. The API may change in ways that are not backwards compatible.",{es-issue}51628] beta::["The cat task management API is new and should still be considered a beta feature. The API may change in ways that are not backwards compatible.",{es-issue}51628]
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -4,7 +4,7 @@
<titleabbrev>cat templates</titleabbrev> <titleabbrev>cat templates</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -4,7 +4,7 @@
<titleabbrev>cat thread pool</titleabbrev> <titleabbrev>cat thread pool</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -5,7 +5,7 @@
<titleabbrev>cat trained model</titleabbrev> <titleabbrev>cat trained model</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -5,7 +5,7 @@
<titleabbrev>cat transforms</titleabbrev> <titleabbrev>cat transforms</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs].. For the most up-to-date API details, refer to {api-es}/group/endpoint-cat[Compact and aligned text (CAT) APIs]..

View file

@ -5,7 +5,7 @@
<titleabbrev>Delete auto-follow pattern</titleabbrev> <titleabbrev>Delete auto-follow pattern</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs].

View file

@ -5,7 +5,7 @@
<titleabbrev>Get auto-follow pattern</titleabbrev> <titleabbrev>Get auto-follow pattern</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs].

View file

@ -5,7 +5,7 @@
<titleabbrev>Pause auto-follow pattern</titleabbrev> <titleabbrev>Pause auto-follow pattern</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs].

View file

@ -5,7 +5,7 @@
<titleabbrev>Create auto-follow pattern</titleabbrev> <titleabbrev>Create auto-follow pattern</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs].

View file

@ -5,7 +5,7 @@
<titleabbrev>Resume auto-follow pattern</titleabbrev> <titleabbrev>Resume auto-follow pattern</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs].

View file

@ -2,7 +2,7 @@
[[ccr-apis]] [[ccr-apis]]
== {ccr-cap} APIs == {ccr-cap} APIs
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs].

View file

@ -5,7 +5,7 @@
<titleabbrev>Get follower info</titleabbrev> <titleabbrev>Get follower info</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs].

View file

@ -5,7 +5,7 @@
<titleabbrev>Get follower stats</titleabbrev> <titleabbrev>Get follower stats</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs].

View file

@ -5,7 +5,7 @@
<titleabbrev>Forget follower</titleabbrev> <titleabbrev>Forget follower</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs].

View file

@ -5,7 +5,7 @@
<titleabbrev>Pause follower</titleabbrev> <titleabbrev>Pause follower</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs].

View file

@ -5,7 +5,7 @@
<titleabbrev>Resume follower</titleabbrev> <titleabbrev>Resume follower</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs].

View file

@ -5,7 +5,7 @@
<titleabbrev>Unfollow</titleabbrev> <titleabbrev>Unfollow</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs].

View file

@ -5,7 +5,7 @@
<titleabbrev>Create follower</titleabbrev> <titleabbrev>Create follower</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs].

View file

@ -6,7 +6,7 @@
<titleabbrev>Get {ccr-init} stats</titleabbrev> <titleabbrev>Get {ccr-init} stats</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-ccr[Cross-cluster replication APIs].

View file

@ -4,7 +4,7 @@
<titleabbrev>Cluster allocation explain</titleabbrev> <titleabbrev>Cluster allocation explain</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].

View file

@ -7,7 +7,7 @@ experimental::[]
<titleabbrev>Cluster Info</titleabbrev> <titleabbrev>Cluster Info</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].

View file

@ -6,7 +6,7 @@
NOTE: {cloud-only} NOTE: {cloud-only}
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].

View file

@ -6,7 +6,7 @@
NOTE: {cloud-only} NOTE: {cloud-only}
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].

View file

@ -6,7 +6,7 @@
NOTE: {cloud-only} NOTE: {cloud-only}
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].

View file

@ -6,7 +6,7 @@
NOTE: {cloud-only} NOTE: {cloud-only}
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].

View file

@ -4,7 +4,7 @@
<titleabbrev>Cluster get settings</titleabbrev> <titleabbrev>Cluster get settings</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].

View file

@ -4,7 +4,7 @@
<titleabbrev>Cluster health</titleabbrev> <titleabbrev>Cluster health</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].

View file

@ -4,7 +4,7 @@
<titleabbrev>Nodes hot threads</titleabbrev> <titleabbrev>Nodes hot threads</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].

View file

@ -4,7 +4,7 @@
<titleabbrev>Nodes info</titleabbrev> <titleabbrev>Nodes info</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].

View file

@ -4,7 +4,7 @@
<titleabbrev>Nodes reload secure settings</titleabbrev> <titleabbrev>Nodes reload secure settings</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].

View file

@ -5,7 +5,7 @@
<titleabbrev>Nodes stats</titleabbrev> <titleabbrev>Nodes stats</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].

View file

@ -4,7 +4,7 @@
<titleabbrev>Nodes feature usage</titleabbrev> <titleabbrev>Nodes feature usage</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].

View file

@ -4,7 +4,7 @@
<titleabbrev>Pending cluster tasks</titleabbrev> <titleabbrev>Pending cluster tasks</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].

View file

@ -6,7 +6,7 @@
NOTE: {cloud-only} NOTE: {cloud-only}
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].

View file

@ -4,7 +4,7 @@
<titleabbrev>Remote cluster info</titleabbrev> <titleabbrev>Remote cluster info</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].

View file

@ -4,7 +4,7 @@
<titleabbrev>Cluster reroute</titleabbrev> <titleabbrev>Cluster reroute</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].

View file

@ -4,7 +4,7 @@
<titleabbrev>Cluster state</titleabbrev> <titleabbrev>Cluster state</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].

View file

@ -5,7 +5,7 @@
<titleabbrev>Cluster stats</titleabbrev> <titleabbrev>Cluster stats</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].
@ -25,7 +25,6 @@ Returns cluster statistics.
* If the {es} {security-features} are enabled, you must have the `monitor` or * If the {es} {security-features} are enabled, you must have the `monitor` or
`manage` <<privileges-list-cluster,cluster privilege>> to use this API. `manage` <<privileges-list-cluster,cluster privilege>> to use this API.
[[cluster-stats-api-desc]] [[cluster-stats-api-desc]]
==== {api-description-title} ==== {api-description-title}
@ -1397,7 +1396,7 @@ as a human-readable string.
`_search`::: `_search`:::
(object) Contains the information about the <<modules-cross-cluster-search, {ccs}>> usage in the cluster. (object) Contains information about <<modules-cross-cluster-search, {ccs}>> usage.
+ +
.Properties of `_search` .Properties of `_search`
[%collapsible%open] [%collapsible%open]
@ -1528,7 +1527,11 @@ This may include requests where partial results were returned, but not requests
======= =======
====== ======
`_esql`:::
(object) Contains information about <<esql-cross-clusters,{esql} {ccs}>> usage.
The structure of the object is the same as the `_search` object above.
===== =====

View file

@ -6,7 +6,7 @@
beta::["The task management API is new and should still be considered a beta feature. The API may change in ways that are not backwards compatible.",{es-issue}51628] beta::["The task management API is new and should still be considered a beta feature. The API may change in ways that are not backwards compatible.",{es-issue}51628]
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-tasks[task management APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-tasks[task management APIs].

View file

@ -6,7 +6,7 @@
NOTE: {cloud-only} NOTE: {cloud-only}
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].

View file

@ -4,7 +4,7 @@
<titleabbrev>Cluster update settings</titleabbrev> <titleabbrev>Cluster update settings</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].

View file

@ -4,7 +4,7 @@
<titleabbrev>Voting configuration exclusions</titleabbrev> <titleabbrev>Voting configuration exclusions</titleabbrev>
++++ ++++
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].

View file

@ -6,7 +6,7 @@
beta::[] beta::[]
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs].

View file

@ -6,7 +6,7 @@
preview::[] preview::[]
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs].

View file

@ -6,7 +6,7 @@
preview::[] preview::[]
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs].

View file

@ -6,7 +6,7 @@
preview::[] preview::[]
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs].

View file

@ -1,7 +1,7 @@
[[connector-apis]] [[connector-apis]]
== Connector APIs == Connector APIs
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs].

View file

@ -6,7 +6,7 @@
beta::[] beta::[]
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs].

View file

@ -6,7 +6,7 @@
beta::[] beta::[]
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs].

View file

@ -6,7 +6,7 @@
beta::[] beta::[]
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs].

View file

@ -6,7 +6,7 @@
beta::[] beta::[]
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs].

View file

@ -6,7 +6,7 @@
beta::[] beta::[]
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs].

View file

@ -6,7 +6,7 @@
beta::[] beta::[]
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs].

View file

@ -7,7 +7,7 @@
beta::[] beta::[]
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs].

View file

@ -7,7 +7,7 @@
beta::[] beta::[]
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs].

View file

@ -6,7 +6,7 @@
preview::[] preview::[]
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs].

View file

@ -6,7 +6,7 @@
preview::[] preview::[]
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs].

View file

@ -6,7 +6,7 @@
beta::[] beta::[]
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs].

View file

@ -6,7 +6,7 @@
beta::[] beta::[]
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs].

View file

@ -6,7 +6,7 @@
preview::[] preview::[]
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs].

View file

@ -6,7 +6,7 @@
beta::[] beta::[]
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs].

View file

@ -6,7 +6,7 @@
beta::[] beta::[]
..New API reference .New API reference
[sidebar] [sidebar]
-- --
For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs]. For the most up-to-date API details, refer to {api-es}/group/endpoint-connector[Connector APIs].

Some files were not shown because too many files have changed in this diff Show more