Skip to content

Commit 3dbec5c

Browse files
authored
Merge branch 'opensearch-project:main' into filecache_disk_utilization_handling
2 parents a141b14 + 2c6a404 commit 3dbec5c

File tree

942 files changed

+22823
-4466
lines changed

Some content is hidden

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

942 files changed

+22823
-4466
lines changed

.github/benchmark-configs.json

Lines changed: 16 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -35,30 +35,13 @@
3535
"baseline_cluster_config": "x64-r5.xlarge-single-node-1-shard-0-replica-baseline"
3636
},
3737
"id_3": {
38-
"description": "Search only test-procedure for NYC_TAXIS, uses snapshot to restore the data for OS-3.0.0",
39-
"supported_major_versions": ["3"],
40-
"cluster-benchmark-configs": {
41-
"SINGLE_NODE_CLUSTER": "true",
42-
"MIN_DISTRIBUTION": "true",
43-
"TEST_WORKLOAD": "nyc_taxis",
44-
"WORKLOAD_PARAMS": "{\"snapshot_repo_name\":\"benchmark-workloads-repo-3x\",\"snapshot_bucket_name\":\"benchmark-workload-snapshots\",\"snapshot_region\":\"us-east-1\",\"snapshot_base_path\":\"workload-snapshots-3x\",\"snapshot_name\":\"nyc_taxis_1_shard\"}",
45-
"CAPTURE_NODE_STAT": "true",
46-
"TEST_PROCEDURE": "restore-from-snapshot"
47-
},
48-
"cluster_configuration": {
49-
"size": "Single-Node",
50-
"data_instance_config": "4vCPU, 32G Mem, 16G Heap"
51-
},
52-
"baseline_cluster_config": "x64-r5.xlarge-1-shard-0-replica-snapshot-baseline"
53-
},
54-
"id_4": {
5538
"description": "Search only test-procedure for big5, uses snapshot to restore the data for OS-3.x",
5639
"supported_major_versions": ["3"],
5740
"cluster-benchmark-configs": {
5841
"SINGLE_NODE_CLUSTER": "true",
5942
"MIN_DISTRIBUTION": "true",
6043
"TEST_WORKLOAD": "big5",
61-
"WORKLOAD_PARAMS": "{\"snapshot_repo_name\":\"benchmark-workloads-repo-3x\",\"snapshot_bucket_name\":\"benchmark-workload-snapshots\",\"snapshot_region\":\"us-east-1\",\"snapshot_base_path\":\"10.2.1\",\"snapshot_name\":\"big5_1_shard_single_client\"}",
44+
"WORKLOAD_PARAMS": "{\"snapshot_repo_name\":\"benchmark-workloads-repo-3x\",\"snapshot_bucket_name\":\"benchmark-workload-snapshots\",\"snapshot_region\":\"us-east-1\",\"snapshot_base_path\":\"10.3.0\",\"snapshot_name\":\"big5_1_shard_single_client\"}",
6245
"CAPTURE_NODE_STAT": "true",
6346
"TEST_PROCEDURE": "restore-from-snapshot"
6447
},
@@ -68,7 +51,7 @@
6851
},
6952
"baseline_cluster_config": "x64-r5.xlarge-1-shard-0-replica-snapshot-baseline"
7053
},
71-
"id_5": {
54+
"id_4": {
7255
"description": "Indexing and search configuration for pmc workload",
7356
"supported_major_versions": ["3"],
7457
"cluster-benchmark-configs": {
@@ -84,7 +67,7 @@
8467
},
8568
"baseline_cluster_config": "x64-r5.xlarge-single-node-1-shard-0-replica-baseline"
8669
},
87-
"id_6": {
70+
"id_5": {
8871
"description": "Indexing only configuration for stack-overflow workload",
8972
"supported_major_versions": ["3"],
9073
"cluster-benchmark-configs": {
@@ -100,15 +83,15 @@
10083
},
10184
"baseline_cluster_config": "x64-r5.xlarge-single-node-1-shard-0-replica-baseline"
10285
},
103-
"id_7": {
86+
"id_6": {
10487
"description": "Search only test-procedure for big5 with concurrent segment search setting enabled",
10588
"supported_major_versions": ["3"],
10689
"cluster-benchmark-configs": {
10790
"SINGLE_NODE_CLUSTER": "true",
10891
"MIN_DISTRIBUTION": "true",
10992
"TEST_WORKLOAD": "big5",
11093
"ADDITIONAL_CONFIG": "search.concurrent_segment_search.enabled:true",
111-
"WORKLOAD_PARAMS": "{\"snapshot_repo_name\":\"benchmark-workloads-repo-3x\",\"snapshot_bucket_name\":\"benchmark-workload-snapshots\",\"snapshot_region\":\"us-east-1\",\"snapshot_base_path\":\"workload-snapshots-3x\",\"snapshot_name\":\"big5_1_shard_single_client\"}",
94+
"WORKLOAD_PARAMS": "{\"snapshot_repo_name\":\"benchmark-workloads-repo-3x\",\"snapshot_bucket_name\":\"benchmark-workload-snapshots\",\"snapshot_region\":\"us-east-1\",\"snapshot_base_path\":\"10.3.0\",\"snapshot_name\":\"big5_1_shard_single_client\"}",
11295
"CAPTURE_NODE_STAT": "true",
11396
"TEST_PROCEDURE": "restore-from-snapshot"
11497
},
@@ -118,15 +101,15 @@
118101
},
119102
"baseline_cluster_config": "x64-r5.xlarge-1-shard-0-replica-snapshot-baseline"
120103
},
121-
"id_8": {
104+
"id_7": {
122105
"description": "Search only test-procedure for big5 with concurrent segment search mode as all",
123106
"supported_major_versions": ["3"],
124107
"cluster-benchmark-configs": {
125108
"SINGLE_NODE_CLUSTER": "true",
126109
"MIN_DISTRIBUTION": "true",
127110
"TEST_WORKLOAD": "big5",
128111
"ADDITIONAL_CONFIG": "search.concurrent_segment_search.mode:all",
129-
"WORKLOAD_PARAMS": "{\"snapshot_repo_name\":\"benchmark-workloads-repo-3x\",\"snapshot_bucket_name\":\"benchmark-workload-snapshots\",\"snapshot_region\":\"us-east-1\",\"snapshot_base_path\":\"workload-snapshots-3x\",\"snapshot_name\":\"big5_1_shard_single_client\"}",
112+
"WORKLOAD_PARAMS": "{\"snapshot_repo_name\":\"benchmark-workloads-repo-3x\",\"snapshot_bucket_name\":\"benchmark-workload-snapshots\",\"snapshot_region\":\"us-east-1\",\"snapshot_base_path\":\"10.3.0\",\"snapshot_name\":\"big5_1_shard_single_client\"}",
130113
"CAPTURE_NODE_STAT": "true",
131114
"TEST_PROCEDURE": "restore-from-snapshot"
132115
},
@@ -136,15 +119,15 @@
136119
},
137120
"baseline_cluster_config": "x64-r5.xlarge-1-shard-0-replica-snapshot-baseline"
138121
},
139-
"id_9": {
122+
"id_8": {
140123
"description": "Search only test-procedure for big5 with concurrent segment search mode as auto",
141124
"supported_major_versions": ["3"],
142125
"cluster-benchmark-configs": {
143126
"SINGLE_NODE_CLUSTER": "true",
144127
"MIN_DISTRIBUTION": "true",
145128
"TEST_WORKLOAD": "big5",
146129
"ADDITIONAL_CONFIG": "search.concurrent_segment_search.mode:auto",
147-
"WORKLOAD_PARAMS": "{\"snapshot_repo_name\":\"benchmark-workloads-repo-3x\",\"snapshot_bucket_name\":\"benchmark-workload-snapshots\",\"snapshot_region\":\"us-east-1\",\"snapshot_base_path\":\"workload-snapshots-3x\",\"snapshot_name\":\"big5_1_shard_single_client\"}",
130+
"WORKLOAD_PARAMS": "{\"snapshot_repo_name\":\"benchmark-workloads-repo-3x\",\"snapshot_bucket_name\":\"benchmark-workload-snapshots\",\"snapshot_region\":\"us-east-1\",\"snapshot_base_path\":\"10.3.0\",\"snapshot_name\":\"big5_1_shard_single_client\"}",
148131
"CAPTURE_NODE_STAT": "true",
149132
"TEST_PROCEDURE": "restore-from-snapshot"
150133
},
@@ -154,15 +137,15 @@
154137
},
155138
"baseline_cluster_config": "x64-r5.xlarge-1-shard-0-replica-snapshot-baseline"
156139
},
157-
"id_10": {
140+
"id_9": {
158141
"description": "Search only test-procedure for big5, uses snapshot to restore the data for OS-3.0.0. Enables range query approximation.",
159142
"supported_major_versions": ["3"],
160143
"cluster-benchmark-configs": {
161144
"SINGLE_NODE_CLUSTER": "true",
162145
"MIN_DISTRIBUTION": "true",
163146
"TEST_WORKLOAD": "big5",
164147
"ADDITIONAL_CONFIG": "opensearch.experimental.feature.approximate_point_range_query.enabled:true",
165-
"WORKLOAD_PARAMS": "{\"snapshot_repo_name\":\"benchmark-workloads-repo-3x\",\"snapshot_bucket_name\":\"benchmark-workload-snapshots\",\"snapshot_region\":\"us-east-1\",\"snapshot_base_path\":\"workload-snapshots-3x\",\"snapshot_name\":\"big5_1_shard_single_client\"}",
148+
"WORKLOAD_PARAMS": "{\"snapshot_repo_name\":\"benchmark-workloads-repo-3x\",\"snapshot_bucket_name\":\"benchmark-workload-snapshots\",\"snapshot_region\":\"us-east-1\",\"snapshot_base_path\":\"10.3.0\",\"snapshot_name\":\"big5_1_shard_single_client\"}",
166149
"CAPTURE_NODE_STAT": "true",
167150
"TEST_PROCEDURE": "restore-from-snapshot"
168151
},
@@ -172,7 +155,7 @@
172155
},
173156
"baseline_cluster_config": "x64-r5.xlarge-1-shard-0-replica-snapshot-baseline"
174157
},
175-
"id_11": {
158+
"id_10": {
176159
"description": "Benchmarking config for NESTED workload, benchmarks nested queries with inner-hits",
177160
"supported_major_versions": ["3"],
178161
"cluster-benchmark-configs": {
@@ -188,31 +171,14 @@
188171
},
189172
"baseline_cluster_config": "x64-r5.xlarge-single-node-1-shard-0-replica-baseline"
190173
},
191-
"id_12": {
192-
"description": "Search only test-procedure for HTTP_LOGS, uses snapshot to restore the data for OS-3.0.0",
193-
"supported_major_versions": ["3"],
194-
"cluster-benchmark-configs": {
195-
"SINGLE_NODE_CLUSTER": "true",
196-
"MIN_DISTRIBUTION": "true",
197-
"TEST_WORKLOAD": "http_logs",
198-
"WORKLOAD_PARAMS": "{\"snapshot_repo_name\":\"benchmark-workloads-repo-3x\",\"snapshot_bucket_name\":\"benchmark-workload-snapshots\",\"snapshot_region\":\"us-east-1\",\"snapshot_base_path\":\"workload-snapshots-3x\",\"snapshot_name\":\"http_logs_1_shard\"}",
199-
"CAPTURE_NODE_STAT": "true",
200-
"TEST_PROCEDURE": "restore-from-snapshot"
201-
},
202-
"cluster_configuration": {
203-
"size": "Single-Node",
204-
"data_instance_config": "4vCPU, 32G Mem, 16G Heap"
205-
},
206-
"baseline_cluster_config": "x64-r5.xlarge-1-shard-0-replica-snapshot-baseline"
207-
},
208-
"id_13": {
174+
"id_11": {
209175
"description": "Search only test-procedure for HTTP_LOGS, uses snapshot to restore the data for OS-3.x",
210176
"supported_major_versions": ["3"],
211177
"cluster-benchmark-configs": {
212178
"SINGLE_NODE_CLUSTER": "true",
213179
"MIN_DISTRIBUTION": "true",
214180
"TEST_WORKLOAD": "http_logs",
215-
"WORKLOAD_PARAMS": "{\"snapshot_repo_name\":\"benchmark-workloads-repo-3x\",\"snapshot_bucket_name\":\"benchmark-workload-snapshots\",\"snapshot_region\":\"us-east-1\",\"snapshot_base_path\":\"10.2.1\",\"snapshot_name\":\"http_logs_1_shard\"}",
181+
"WORKLOAD_PARAMS": "{\"snapshot_repo_name\":\"benchmark-workloads-repo-3x\",\"snapshot_bucket_name\":\"benchmark-workload-snapshots\",\"snapshot_region\":\"us-east-1\",\"snapshot_base_path\":\"10.3.0\",\"snapshot_name\":\"http_logs_1_shard\"}",
216182
"CAPTURE_NODE_STAT": "true",
217183
"TEST_PROCEDURE": "restore-from-snapshot"
218184
},
@@ -222,14 +188,14 @@
222188
},
223189
"baseline_cluster_config": "x64-r5.xlarge-1-shard-0-replica-snapshot-baseline"
224190
},
225-
"id_14": {
191+
"id_12": {
226192
"description": "Search only test-procedure for NYC_TAXIS, uses snapshot to restore the data for OS-3.x",
227193
"supported_major_versions": ["3"],
228194
"cluster-benchmark-configs": {
229195
"SINGLE_NODE_CLUSTER": "true",
230196
"MIN_DISTRIBUTION": "true",
231197
"TEST_WORKLOAD": "nyc_taxis",
232-
"WORKLOAD_PARAMS": "{\"snapshot_repo_name\":\"benchmark-workloads-repo-3x\",\"snapshot_bucket_name\":\"benchmark-workload-snapshots\",\"snapshot_region\":\"us-east-1\",\"snapshot_base_path\":\"10.2.1\",\"snapshot_name\":\"nyc_taxis_1_shard\"}",
198+
"WORKLOAD_PARAMS": "{\"snapshot_repo_name\":\"benchmark-workloads-repo-3x\",\"snapshot_bucket_name\":\"benchmark-workload-snapshots\",\"snapshot_region\":\"us-east-1\",\"snapshot_base_path\":\"10.3.0\",\"snapshot_name\":\"nyc_taxis_1_shard\"}",
233199
"CAPTURE_NODE_STAT": "true",
234200
"TEST_PROCEDURE": "restore-from-snapshot"
235201
},

.github/workflows/assemble.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v5
1414
- name: Set up JDK ${{ matrix.java }}
15-
uses: actions/setup-java@v4
15+
uses: actions/setup-java@v5
1616
with:
1717
java-version: ${{ matrix.java }}
1818
distribution: temurin

.github/workflows/benchmark-pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,15 +141,15 @@ jobs:
141141
ref: ${{ env.prHeadRefSha }}
142142
token: ${{ secrets.GITHUB_TOKEN }}
143143
- name: Setup Java
144-
uses: actions/setup-java@v4
144+
uses: actions/setup-java@v5
145145
with:
146146
java-version: 21
147147
distribution: 'temurin'
148148
- name: Build and Assemble OpenSearch from PR
149149
run: |
150150
./gradlew :distribution:archives:linux-tar:assemble -Dbuild.snapshot=false
151151
- name: Configure AWS credentials
152-
uses: aws-actions/configure-aws-credentials@v4
152+
uses: aws-actions/configure-aws-credentials@v5
153153
with:
154154
role-to-assume: ${{ secrets.UPLOAD_ARCHIVE_ARTIFACT_ROLE }}
155155
role-session-name: publish-to-s3

.github/workflows/changelog_verifier.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,8 @@ jobs:
1616
- uses: dangoslen/changelog-enforcer@v3
1717
with:
1818
skipLabels: "autocut, skip-changelog"
19+
changeIsMissingMessage: |
20+
❌ ERROR: No update to CHANGELOG.md found!
21+
This project requires a changelog entry for every user-facing change.
22+
Please add an entry to the changelog or ask a maintainer to add the skip-changelog label.
23+
See https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#changelog for more details.
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
#
7+
# ******** NOTE ********
8+
# We have attempted to detect the languages in your repository. Please check
9+
# the `language` matrix defined below to confirm you have the correct set of
10+
# supported CodeQL languages.
11+
#
12+
name: "CodeQL"
13+
14+
on:
15+
push:
16+
branches: [ main ]
17+
pull_request:
18+
# The branches below must be a subset of the branches above
19+
branches: [ main ]
20+
schedule:
21+
- cron: '42 20 * * 6'
22+
23+
jobs:
24+
analyze:
25+
name: Analyze
26+
runs-on: ubuntu-latest
27+
28+
strategy:
29+
fail-fast: false
30+
matrix:
31+
language: [ 'java' ]
32+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
33+
# Learn more:
34+
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
35+
36+
steps:
37+
- name: Checkout repository
38+
uses: actions/checkout@v5
39+
- name: Set up JDK 21
40+
uses: actions/setup-java@v4
41+
with:
42+
java-version: 21
43+
distribution: temurin
44+
# Initializes the CodeQL tools for scanning.
45+
- name: Initialize CodeQL
46+
uses: github/codeql-action/init@v3
47+
with:
48+
languages: ${{ matrix.language }}
49+
# If you wish to specify custom queries, you can do so here or in a config file.
50+
# By default, queries listed here will override any specified in a config file.
51+
# Prefix the list here with "+" to use these queries and those in the config file.
52+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
53+
54+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
55+
# If this step fails, then you should remove it and run the build manually (see below)
56+
- name: Autobuild
57+
uses: github/codeql-action/autobuild@v3
58+
59+
# ℹ️ Command-line programs to run using the OS shell.
60+
# 📚 https://git.io/JvXDl
61+
62+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
63+
# and modify them (or add more) to build your code if your project
64+
# uses a compiled language
65+
66+
#- run: |
67+
# make bootstrap
68+
# make release
69+
70+
- name: Perform CodeQL Analysis
71+
uses: github/codeql-action/analyze@v3

.github/workflows/dependabot_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
# See please https://docs.gradle.org/8.10/userguide/upgrading_version_8.html#minimum_daemon_jvm_version
2727
- name: Set up JDK 21
28-
uses: actions/setup-java@v4
28+
uses: actions/setup-java@v5
2929
with:
3030
java-version: 21
3131
distribution: temurin

.github/workflows/detect-breaking-change.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v5
10-
- uses: actions/setup-java@v4
10+
- uses: actions/setup-java@v5
1111
with:
1212
distribution: temurin # Temurin is a distribution of adoptium
1313
java-version: 21
1414
- uses: gradle/gradle-build-action@v3
1515
with:
1616
cache-disabled: true
1717
arguments: japicmp
18-
gradle-version: 8.14.3
18+
gradle-version: 9.1.0
1919
build-root-directory: server
2020
- if: failure()
2121
run: cat server/build/reports/java-compatibility/report.txt

.github/workflows/lucene-snapshots.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
echo "REVISION=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
3636
3737
- name: Setup JDK ${{ env.JAVA_VERSION }}
38-
uses: actions/setup-java@v4
38+
uses: actions/setup-java@v5
3939
with:
4040
java-version: ${{ env.JAVA_VERSION }}
4141
distribution: 'temurin'
@@ -47,7 +47,7 @@ jobs:
4747
run: ./gradlew publishJarsPublicationToMavenLocal -Pversion.suffix=snapshot-${{ env.REVISION }}
4848

4949
- name: Configure AWS credentials
50-
uses: aws-actions/configure-aws-credentials@v4
50+
uses: aws-actions/configure-aws-credentials@v5
5151
with:
5252
role-to-assume: ${{ secrets.LUCENE_SNAPSHOTS_SECRET_ROLE }}
5353
aws-region: us-east-1
@@ -60,7 +60,7 @@ jobs:
6060
echo "LUCENE_SNAPSHOTS_BUCKET=$lucene_snapshots_bucket" >> $GITHUB_OUTPUT
6161
6262
- name: Configure AWS credentials
63-
uses: aws-actions/configure-aws-credentials@v4
63+
uses: aws-actions/configure-aws-credentials@v5
6464
with:
6565
role-to-assume: ${{ secrets.LUCENE_SNAPSHOTS_S3_ROLE }}
6666
aws-region: us-east-1
@@ -70,7 +70,7 @@ jobs:
7070
aws s3 cp ~/.m2/repository/org/apache/lucene/ s3://${{ steps.get_s3_bucket.outputs.LUCENE_SNAPSHOTS_BUCKET }}/snapshots/lucene/org/apache/lucene/ --recursive --no-progress
7171
7272
- name: Configure AWS credentials
73-
uses: aws-actions/configure-aws-credentials@v4
73+
uses: aws-actions/configure-aws-credentials@v5
7474
with:
7575
role-to-assume: ${{ secrets.LUCENE_SNAPSHOTS_ROLE }}
7676
aws-region: us-west-2

.github/workflows/precommit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v5
1818
- name: Set up JDK ${{ matrix.java }}
19-
uses: actions/setup-java@v4
19+
uses: actions/setup-java@v5
2020
with:
2121
java-version: ${{ matrix.java }}
2222
distribution: temurin

.github/workflows/publish-maven-snapshots.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v5
2222
- name: Set up JDK 21
23-
uses: actions/setup-java@v4
23+
uses: actions/setup-java@v5
2424
with:
2525
distribution: temurin
2626
java-version: 21

0 commit comments

Comments
 (0)