Skip to content

Commit

Permalink
Merge branch 'main' into esql_pragma_load_source
Browse files Browse the repository at this point in the history
  • Loading branch information
nik9000 committed Feb 18, 2025
2 parents cbeb97a + 894db68 commit 87c3446
Show file tree
Hide file tree
Showing 361 changed files with 11,274 additions and 6,371 deletions.
3 changes: 3 additions & 0 deletions .buildkite/hooks/pre-command
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ export GRADLE_BUILD_CACHE_USERNAME
GRADLE_BUILD_CACHE_PASSWORD=$(vault read -field=password secret/ci/elastic-elasticsearch/migrated/gradle-build-cache)
export GRADLE_BUILD_CACHE_PASSWORD

DEVELOCITY_ACCESS_KEY="gradle-enterprise.elastic.co=$(vault read -field=accesskey secret/ci/elastic-elasticsearch/migrated/gradle-build-cache)"
export DEVELOCITY_ACCESS_KEY

BUILDKITE_API_TOKEN=$(vault read -field=token secret/ci/elastic-elasticsearch/buildkite-api-token)
export BUILDKITE_API_TOKEN

Expand Down
2 changes: 1 addition & 1 deletion .buildkite/pipelines/intake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ steps:
ES_VERSION:
- "9.0.0"
ES_COMMIT:
- "b2cc9d9b8f00ee621f93ddca07ea9c671aab1578" # update to match last commit before lucene bump
- "10352e57d85505984582616e1e38530d3ec6ca59" # update to match last commit before lucene bump / head of combat-lucene-10-0-0
agents:
provider: gcp
image: family/elasticsearch-ubuntu-2004
Expand Down
35 changes: 15 additions & 20 deletions .ci/init.gradle
Original file line number Diff line number Diff line change
@@ -1,29 +1,24 @@
final String buildCacheUrl = System.getProperty('org.elasticsearch.build.cache.url')
final boolean buildCachePush = Boolean.valueOf(System.getProperty('org.elasticsearch.build.cache.push', 'false'))

gradle.settingsEvaluated { settings ->
settings.pluginManager.withPlugin("com.gradle.develocity") {
settings.develocity {
server = 'https://gradle-enterprise.elastic.co'
server = "https://gradle-enterprise.elastic.co"
}
}
}

final String buildCacheUrl = System.getProperty('org.elasticsearch.build.cache.url')
final boolean buildCachePush = Boolean.valueOf(System.getProperty('org.elasticsearch.build.cache.push', 'false'))

if (buildCacheUrl) {
gradle.settingsEvaluated { settings ->
settings.buildCache {
local {
// Disable the local build cache in CI since we use ephemeral workers and it incurs an IO penalty
enabled = false
}
remote(HttpBuildCache) {
url = buildCacheUrl
push = buildCachePush
credentials {
username = System.getenv("GRADLE_BUILD_CACHE_USERNAME")
password = System.getenv("GRADLE_BUILD_CACHE_PASSWORD")
if (buildCacheUrl) {
settings.buildCache {
local {
// Disable the local build cache in CI since we use ephemeral workers and it incurs an IO penalty
enabled = false
}
remote(settings.develocity.buildCache) {
enabled = true
push = buildCachePush
}
}
}
}
}


1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ distribution/docker/src @elastic/es-delivery
# Core/Infra
distribution/tools @elastic/es-core-infra
libs/core @elastic/es-core-infra
libs/entitlement @elastic/es-core-infra
libs/logging @elastic/es-core-infra
libs/native @elastic/es-core-infra
libs/plugin-analysis-api @elastic/es-core-infra
Expand Down
5 changes: 5 additions & 0 deletions build-conventions/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/

plugins {
id "com.gradle.develocity" version "3.18.1"
}

rootProject.name = 'build-conventions'

dependencyResolutionManagement {
Expand Down
4 changes: 4 additions & 0 deletions build-tools-internal/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ pluginManagement {
includeBuild "../build-tools"
}

plugins {
id "com.gradle.develocity" version "3.18.1"
}

dependencyResolutionManagement {
versionCatalogs {
buildLibs {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public enum DockerBase {
// Chainguard based wolfi image with latest jdk
// This is usually updated via renovatebot
// spotless:off
WOLFI("docker.elastic.co/wolfi/chainguard-base:latest@sha256:ecd940be9f342ee6173397c48f3df5bb410e95000f8726fd01759b6c39b0beda",
WOLFI("docker.elastic.co/wolfi/chainguard-base:latest@sha256:d74b1fda6b7fee2c90b410df258e005c049e0672fe16d79d00e58f14fb69f90b",
"-wolfi",
"apk"
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ private static ListMultimap<Class<?>, String> createLegacyRestTestBasePluginUsag
map.put(LegacyRestTestBasePlugin.class, ":x-pack:qa:smoke-test-security-with-mustache");
map.put(LegacyRestTestBasePlugin.class, ":x-pack:qa:xpack-prefix-rest-compat");
map.put(LegacyRestTestBasePlugin.class, ":modules:ingest-geoip:qa:file-based-update");
map.put(LegacyRestTestBasePlugin.class, ":plugins:discovery-ec2:qa:amazon-ec2");
map.put(LegacyRestTestBasePlugin.class, ":plugins:discovery-gce:qa:gce");
map.put(LegacyRestTestBasePlugin.class, ":x-pack:qa:multi-cluster-search-security:legacy-with-basic-license");
map.put(LegacyRestTestBasePlugin.class, ":x-pack:qa:multi-cluster-search-security:legacy-with-full-license");
Expand Down
2 changes: 1 addition & 1 deletion build-tools-internal/version.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jna = 5.12.1
netty = 4.1.115.Final
commons_lang3 = 3.9
google_oauth_client = 1.34.1
awsv1sdk = 1.12.270
awsv1sdk = 1.12.746
awsv2sdk = 2.28.13
reactive_streams = 1.0.4

Expand Down
4 changes: 3 additions & 1 deletion build-tools/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
pluginManagement {
includeBuild "../build-conventions"
}

plugins {
id "com.gradle.develocity" version "3.18.1"
}
include 'reaper'

dependencyResolutionManagement {
Expand Down
5 changes: 5 additions & 0 deletions docs/changelog/119886.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 119886
summary: Initial support for unmapped fields
area: ES|QL
type: feature
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/121370.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 121370
summary: Improve SLM Health Indicator to cover missing snapshot
area: ILM+SLM
type: enhancement
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/121784.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 121784
summary: Optionally allow text similarity reranking to fail
area: Search
type: enhancement
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/121942.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 121942
summary: Allow partial results in ES|QL
area: ES|QL
type: enhancement
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/121971.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 121971
summary: Do not fetch reserved roles from native store when Get Role API is called
area: Authorization
type: enhancement
issues: []
6 changes: 6 additions & 0 deletions docs/changelog/122224.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 122224
summary: Enable the use of nested field type with index.mode=time_series
area: Mapping
type: enhancement
issues:
- 120874
5 changes: 5 additions & 0 deletions docs/changelog/122247.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 122247
summary: Improve jwt logging on failed auth
area: Authentication
type: bug
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/122326.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 122326
summary: System Index Migration Failure Results in a Non-Recoverable State
area: Infra/Core
type: bug
issues: []
6 changes: 6 additions & 0 deletions docs/changelog/122357.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 122357
summary: Handle search timeout in `SuggestPhase`
area: Search
type: bug
issues:
- 122186
5 changes: 5 additions & 0 deletions docs/changelog/122427.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 122427
summary: Improve size limiting string message
area: Infra/Core
type: enhancement
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/122431.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 122431
summary: Upgrade AWS SDK to v1.12.746
area: Snapshot/Restore
type: upgrade
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/122538.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 122538
summary: Fix `ArrayIndexOutOfBoundsException` in `ShardBulkInferenceActionFilter`
area: Ingest
type: bug
issues: []
6 changes: 6 additions & 0 deletions docs/changelog/122575.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 122575
summary: Return an empty suggestion when suggest phase times out
area: Suggesters
type: bug
issues:
- 122548
5 changes: 5 additions & 0 deletions docs/changelog/122610.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 122610
summary: Canonicalize processor names and types in `IngestStats`
area: Ingest Node
type: bug
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/122640.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 122640
summary: Fix redact processor arraycopy bug
area: Ingest Node
type: bug
issues: []
6 changes: 6 additions & 0 deletions docs/changelog/122653.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 122653
summary: Knn vector rescoring to sort score docs
area: Vector Search
type: bug
issues:
- 119711
5 changes: 5 additions & 0 deletions docs/changelog/122737.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 122737
summary: Bump json-smart and oauth2-oidc-sdk
area: Authentication
type: upgrade
issues: []
Loading

0 comments on commit 87c3446

Please sign in to comment.