Skip to content

Commit 4db3c09

Browse files
committed
Merge branch 'upstream/master' into rollup-index-improvement
* upstream/master: (167 commits) Mute FrozenSearchableSnapshotsIntegTests#testCreateAndRestorePartialSearchableSnapshot Mute LdapSessionFactoryTests#testSslTrustIsReloaded Fix spotless violation from last commit Mute GeoGridTilerTestCase#testGeoGridSetValuesBoundingBoxes_UnboundedGeoShapeCellValues Small formatting clean up (elastic#84144) Always re-run Feature migrations which have encountered errors (elastic#83918) [DOCS] Clarify `orientation` usage for WKT and GeoJSON polygons (elastic#84025) Group field caps response by index mapping hash (elastic#83494) Shrink join queries in slow log (elastic#83914) TSDB: Reject the nested object fields that are configured time_series_dimension (elastic#83920) [DOCS] Remove note about partial response from Bulk API docs (elastic#84053) Allow regular data streams to be migrated to tsdb data streams. (elastic#83843) [DOCS] Fix `ignore_unavailable` parameter definition (elastic#84071) Make Metadata extend AbstractCollection (elastic#83791) Add API specs for OpenID Connect APIs Revert "Clean up for superuser role name references (elastic#83627)" (elastic#84096) Update Lucene analysis base url (elastic#84094) Avoid null threadContext in ResultDeduplicator (elastic#84093) Use static empty store files metadata (elastic#84034) Preserve context in snapshotDeletionListeners (elastic#84089) ... # Conflicts: # x-pack/plugin/rollup/build.gradle
2 parents 76b7aee + 4ed8570 commit 4db3c09

File tree

1,491 files changed

+26453
-48001
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,491 files changed

+26453
-48001
lines changed

.ci/bwcVersions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,6 @@ BWC_VERSION:
5151
- "7.17.0"
5252
- "7.17.1"
5353
- "8.0.0"
54+
- "8.0.1"
5455
- "8.1.0"
5556
- "8.2.0"
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
---
2-
jjbb-template: generic-gradle-unix.yml
2+
jjbb-template: matrix-gradle-unix.yml
33
vars:
4-
- job-name: elastic+elasticsearch+%BRANCH%+intake+multijob+bwc
4+
- job-name: elastic+elasticsearch+%BRANCH%+intake+multijob+bwc-snapshots
55
- job-display-name: "elastic / elasticsearch # %BRANCH% - intake bwc"
66
- job-description: Elasticsearch %BRANCH% branch intake backwards compatibility checks.
7-
- gradle-args: "-Dbwc.checkout.align=true -Dorg.elasticsearch.build.cache.push=true -Dignore.tests.seed -Dscan.capture-task-input-files bwcTestSnapshots"
7+
- matrix-yaml-file: ".ci/snapshotBwcVersions"
8+
- matrix-variable: BWC_VERSION
9+
- gradle-args: "-Dbwc.checkout.align=true -Dorg.elasticsearch.build.cache.push=true -Dignore.tests.seed -Dscan.capture-task-input-files v$BWC_VERSION#bwcTest"

.ci/jobs.t/elastic+elasticsearch+intake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
kill-phase-on: NEVER
4343
current-parameters: true
4444
git-revision: true
45-
- name: elastic+elasticsearch+%BRANCH%+intake+multijob+bwc
45+
- name: elastic+elasticsearch+%BRANCH%+intake+multijob+bwc-snapshots
4646
kill-phase-on: NEVER
4747
current-parameters: true
4848
git-revision: true

.ci/jobs.t/elastic+elasticsearch+multijob+platform-support-arm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
type: label-expression
1515
name: os
1616
values:
17+
- "almalinux-8-aarch64&&immutable"
1718
- "ubuntu-1804-aarch64&&immutable"
1819
builders:
1920
- inject:

.ci/jobs.t/elastic+elasticsearch+pull-request+bwc.yml renamed to .ci/jobs.t/elastic+elasticsearch+pull-request+bwc-snapshots.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
---
22
- job:
3-
name: "elastic+elasticsearch+pull-request+bwc"
3+
name: "elastic+elasticsearch+pull-request+bwc-snapshots"
44
display-name: "elastic / elasticsearch - pull request bwc"
55
description: "Testing of Elasticsearch pull requests - bwc"
6-
workspace: "/dev/shm/elastic+elasticsearch+pull-request+bwc"
6+
project-type: matrix
7+
node: master
8+
child-workspace: "/dev/shm/elastic+elasticsearch+pull-request+bwc"
79
scm:
810
- git:
911
refspec: "+refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*"
@@ -23,6 +25,16 @@
2325
black-list-labels:
2426
- '>test-mute'
2527
- 'test-full-bwc'
28+
axes:
29+
- axis:
30+
type: slave
31+
name: nodes
32+
values:
33+
- "general-purpose"
34+
- axis:
35+
type: yaml
36+
filename: ".ci/snapshotBwcVersions"
37+
name: "BWC_VERSION"
2638
builders:
2739
- inject:
2840
properties-file: '.ci/java-versions.properties'
@@ -34,4 +46,4 @@
3446
JAVA16_HOME=$HOME/.java/openjdk16
3547
- shell: |
3648
#!/usr/local/bin/runbld --redirect-stderr
37-
$WORKSPACE/.ci/scripts/run-gradle.sh -Dignore.tests.seed bwcTestSnapshots
49+
$WORKSPACE/.ci/scripts/run-gradle.sh -Dignore.tests.seed v$BWC_VERSION#bwcTest

.ci/snapshotBwcVersions

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
BWC_VERSION:
2+
- "7.17.1"
3+
- "8.0.1"
4+
- "8.1.0"
5+
- "8.2.0"

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Elasticsearch Changlog
2+
3+
Please see the [release notes](https://www.elastic.co/guide/en/elasticsearch/reference/current/es-release-notes.html) in the reference manual.

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,11 @@ Contributing to the Elasticsearch codebase
112112

113113
**Repository:** [https://github.com/elastic/elasticsearch](https://github.com/elastic/elasticsearch)
114114

115-
JDK 16 is required to build Elasticsearch. You must have a JDK 16 installation
115+
JDK 17 is required to build Elasticsearch. You must have a JDK 17 installation
116116
with the environment variable `JAVA_HOME` referencing the path to Java home for
117-
your JDK 16 installation. By default, tests use the same runtime as `JAVA_HOME`.
117+
your JDK 17 installation. By default, tests use the same runtime as `JAVA_HOME`.
118118
However, since Elasticsearch supports JDK 11, the build supports compiling with
119-
JDK 16 and testing on a JDK 11 runtime; to do this, set `RUNTIME_JAVA_HOME`
119+
JDK 17 and testing on a JDK 11 runtime; to do this, set `RUNTIME_JAVA_HOME`
120120
pointing to the Java home of a JDK 11 installation. Note that this mechanism can
121121
be used to test against other JDKs as well, this is not only limited to JDK 11.
122122

@@ -151,9 +151,9 @@ and then run `curl` in another window like this:
151151
### Importing the project into IntelliJ IDEA
152152

153153
The minimum IntelliJ IDEA version required to import the Elasticsearch project is 2020.1
154-
Elasticsearch builds using Java 16. When importing into IntelliJ you will need
154+
Elasticsearch builds using Java 17. When importing into IntelliJ you will need
155155
to define an appropriate SDK. The convention is that **this SDK should be named
156-
"16"** so that the project import will detect it automatically. For more details
156+
"17"** so that the project import will detect it automatically. For more details
157157
on defining an SDK in IntelliJ please refer to [their documentation](https://www.jetbrains.com/help/idea/sdk.html#define-sdk).
158158
SDK definitions are global, so you can add the JDK from any project, or after
159159
project import. Importing with a missing JDK will still work, IntelliJ will

benchmarks/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This directory contains the microbenchmark suite of Elasticsearch. It relies on
55
## Purpose
66

77
We do not want to microbenchmark everything but the kitchen sink and should typically rely on our
8-
[macrobenchmarks](https://elasticsearch-benchmarks.elastic.co/app/kibana#/dashboard/Nightly-Benchmark-Overview) with
8+
[macrobenchmarks](https://elasticsearch-benchmarks.elastic.co/) with
99
[Rally](https://github.com/elastic/rally). Microbenchmarks are intended to spot performance regressions in performance-critical components.
1010
The microbenchmark suite is also handy for ad-hoc microbenchmarks but please remove them again before merging your PR.
1111

benchmarks/src/main/resources/org/elasticsearch/benchmark/xcontent/monitor_cluster_stats.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,6 +1233,11 @@
12331233
"total" : 0,
12341234
"failed" : 0
12351235
}
1236+
},
1237+
"archive" : {
1238+
"available" : false,
1239+
"enabled" : true,
1240+
"indices_count" : 0
12361241
}
12371242
}
12381243
}

0 commit comments

Comments
 (0)