forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into RealmsAuthenticator-log-all-causes
- Loading branch information
Showing
611 changed files
with
15,543 additions
and
8,505 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
.buildkite/scripts/gradle-configuration-cache-validation.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
|
||
set -euo pipefail | ||
|
||
# TODO/ FIXIT without a full resolved gradle home, we see issues configuration cache reuse | ||
./gradlew --max-workers=8 --parallel --scan --no-daemon precommit | ||
|
||
./gradlew --max-workers=8 --parallel --scan --configuration-cache precommit -Dorg.gradle.configuration-cache.inputs.unsafe.ignore.file-system-checks=build/*.tar.bz2 | ||
|
||
# Create a temporary file | ||
tmpOutputFile=$(mktemp) | ||
trap "rm $tmpOutputFile" EXIT | ||
|
||
echo "2nd run" | ||
# TODO run-gradle.sh script causes issues because of init script handling | ||
./gradlew --max-workers=8 --parallel --scan --configuration-cache precommit -Dorg.gradle.configuration-cache.inputs.unsafe.ignore.file-system-checks=build/*.tar.bz2 | tee $tmpOutputFile | ||
|
||
# Check if the command was successful | ||
if grep -q "Configuration cache entry reused." $tmpOutputFile; then | ||
echo "Gradle configuration cache reused" | ||
exit 0 | ||
else | ||
echo "Failed to reuse Gradle configuration cache." | ||
exit 1 | ||
fi | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
...va/org/elasticsearch/gradle/internal/util/SourceDirectoryCommandLineArgumentProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* | ||
* 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 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 or the Server | ||
* Side Public License, v 1. | ||
*/ | ||
|
||
package org.elasticsearch.gradle.internal.util; | ||
|
||
import org.gradle.api.file.Directory; | ||
import org.gradle.api.tasks.InputDirectory; | ||
import org.gradle.api.tasks.PathSensitive; | ||
import org.gradle.api.tasks.PathSensitivity; | ||
import org.gradle.process.CommandLineArgumentProvider; | ||
|
||
import java.util.Arrays; | ||
|
||
public class SourceDirectoryCommandLineArgumentProvider implements CommandLineArgumentProvider { | ||
|
||
private final Directory sourceDirectory; | ||
|
||
public SourceDirectoryCommandLineArgumentProvider(Directory sourceDirectory) { | ||
this.sourceDirectory = sourceDirectory; | ||
} | ||
|
||
public Iterable<String> asArguments() { | ||
return Arrays.asList("-s", sourceDirectory.getAsFile().getAbsolutePath()); | ||
} | ||
|
||
@InputDirectory | ||
@PathSensitive(PathSensitivity.RELATIVE) | ||
public Directory getSourceDirectory() { | ||
return sourceDirectory; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 110216 | ||
summary: Register SLM run before snapshotting to save stats | ||
area: ILM+SLM | ||
type: enhancement | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
pr: 110901 | ||
summary: Set lenient to true by default when using updateable synonyms | ||
area: Analysis | ||
type: breaking | ||
issues: [] | ||
breaking: | ||
title: Set lenient to true by default when using updateable synonyms | ||
area: Analysis | ||
details: | | ||
When a `synonym` or `synonym_graph` token filter is configured with `updateable: true`, the default `lenient` | ||
value will now be `true`. | ||
impact: | | ||
`synonym` or `synonym_graph` token filters configured with `updateable: true` will ignore invalid synonyms by | ||
default. This prevents shard initialization errors on invalid synonyms. | ||
notable: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 111285 | ||
summary: "[Bugfix] Add `accessDeclaredMembers` permission to allow search application templates to parse floats" | ||
area: Relevance | ||
type: bug | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 111315 | ||
summary: Add link to flood-stage watermark exception message | ||
area: Allocation | ||
type: enhancement | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 111369 | ||
summary: Improve security-crypto threadpool overflow handling | ||
area: Authentication | ||
type: bug | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 111420 | ||
summary: "[Query rules] Add `exclude` query rule type" | ||
area: Relevance | ||
type: feature | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 111552 | ||
summary: Siem ea 9521 improve test | ||
area: ES|QL | ||
type: enhancement | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pr: 111576 | ||
summary: Execute shard snapshot tasks in shard-id order | ||
area: Snapshot/Restore | ||
type: enhancement | ||
issues: | ||
- 108739 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 111600 | ||
summary: Make ecs@mappings work with OTel attributes | ||
area: Data streams | ||
type: enhancement | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pr: 111624 | ||
summary: Extend logging for dropped warning headers | ||
area: Infra/Core | ||
type: enhancement | ||
issues: | ||
- 90527 |
Oops, something went wrong.