Skip to content

Commit a760741

Browse files
authored
Merge branch 'main' into metadata2
Signed-off-by: Muneer Kolarkunnu <[email protected]>
2 parents ed9e85e + 3032bef commit a760741

File tree

796 files changed

+8784
-4724
lines changed

Some content is hidden

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

796 files changed

+8784
-4724
lines changed

.github/workflows/assemble.yml

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,35 +7,21 @@ jobs:
77
runs-on: ${{ matrix.os }}
88
strategy:
99
matrix:
10-
java: [ 11, 17, 21 ]
11-
os: [ubuntu-latest, windows-latest, macos-13]
10+
java: [ 21, 23 ]
11+
os: [ubuntu-latest, windows-latest, macos-13, ubuntu-24.04-arm]
1212
steps:
1313
- uses: actions/checkout@v4
1414
- name: Set up JDK ${{ matrix.java }}
1515
uses: actions/setup-java@v4
1616
with:
1717
java-version: ${{ matrix.java }}
1818
distribution: temurin
19-
- name: Set up JDK 17
20-
# See please https://docs.gradle.org/8.10/userguide/upgrading_version_8.html#minimum_daemon_jvm_version
21-
if: matrix.java == 11
22-
uses: actions/setup-java@v4
23-
with:
24-
java-version: 17
25-
distribution: temurin
26-
- name: Set JAVA${{ matrix.java }}_HOME
27-
shell: bash
28-
run: |
29-
echo "JAVA${{ matrix.java }}_HOME=$JAVA_HOME_${{ matrix.java }}_${{ runner.arch }}" >> $GITHUB_ENV
3019
- name: Setup docker (missing on MacOS)
3120
id: setup_docker
3221
if: runner.os == 'macos'
3322
continue-on-error: true
3423
run: |
35-
# Force QEMU 9.0.2 usage
36-
curl https://raw.githubusercontent.com/Homebrew/homebrew-core/f1a9cf104a9a51779c7a532b658c490f69974839/Formula/q/qemu.rb > qemu.rb
37-
brew install qemu.rb
38-
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 HOMEBREW_NO_AUTO_UPDATE=1 brew install docker colima coreutils
24+
brew install docker colima coreutils
3925
gtimeout 15m colima start
4026
shell: bash
4127
- name: Run Gradle (assemble)
@@ -47,8 +33,8 @@ jobs:
4733
shell: bash
4834
if: runner.os != 'macos'
4935
run: |
50-
./gradlew assemble --parallel --no-build-cache -PDISABLE_BUILD_CACHE -Druntime.java=${{ matrix.java }}
36+
./gradlew assemble --parallel --no-build-cache -PDISABLE_BUILD_CACHE
5137
- name: Run Gradle (assemble)
5238
if: runner.os == 'macos' && steps.setup_docker.outcome == 'success'
5339
run: |
54-
./gradlew assemble --parallel --no-build-cache -PDISABLE_BUILD_CACHE -Druntime.java=${{ matrix.java }}
40+
./gradlew assemble --parallel --no-build-cache -PDISABLE_BUILD_CACHE

.github/workflows/precommit.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ jobs:
77
runs-on: ${{ matrix.os }}
88
strategy:
99
matrix:
10-
java: [ 11, 17, 21, 23 ]
11-
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
10+
java: [ 21, 23 ]
11+
os: [ubuntu-latest, windows-latest, macos-latest, macos-13, ubuntu-24.04-arm]
1212
steps:
1313
- uses: actions/checkout@v4
1414
- name: Set up JDK ${{ matrix.java }}
@@ -17,18 +17,7 @@ jobs:
1717
java-version: ${{ matrix.java }}
1818
distribution: temurin
1919
cache: gradle
20-
- name: Set up JDK 17
21-
# See please https://docs.gradle.org/8.10/userguide/upgrading_version_8.html#minimum_daemon_jvm_version
22-
if: matrix.java == 11
23-
uses: actions/setup-java@v4
24-
with:
25-
java-version: 17
26-
distribution: temurin
27-
- name: Set JAVA${{ matrix.java }}_HOME
28-
shell: bash
29-
run: |
30-
echo "JAVA${{ matrix.java }}_HOME=$JAVA_HOME_${{ matrix.java }}_${{ runner.arch }}" >> $GITHUB_ENV
3120
- name: Run Gradle (precommit)
3221
shell: bash
3322
run: |
34-
./gradlew javadoc precommit --parallel -Druntime.java=${{ matrix.java }}
23+
./gradlew javadoc precommit --parallel

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919

2020
steps:
2121
- uses: actions/checkout@v4
22-
- name: Set up JDK 17
22+
- name: Set up JDK 21
2323
uses: actions/setup-java@v4
2424
with:
25-
distribution: adopt
26-
java-version: 17
25+
distribution: temurin
26+
java-version: 21
2727

2828
- name: Configure AWS credentials
2929
uses: aws-actions/configure-aws-credentials@v4
@@ -37,4 +37,4 @@ jobs:
3737
export SONATYPE_PASSWORD=$(aws secretsmanager get-secret-value --secret-id maven-snapshots-password --query SecretString --output text)
3838
echo "::add-mask::$SONATYPE_USERNAME"
3939
echo "::add-mask::$SONATYPE_PASSWORD"
40-
./gradlew publishNebulaPublicationToSnapshotsRepository
40+
./gradlew publishNebulaPublicationToSnapshotsRepository -Dbuild.version_qualifier=alpha1

CHANGELOG-3.0.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1515
- Views, simplify data access and manipulation by providing a virtual layer over one or more indices ([#11957](https://github.com/opensearch-project/OpenSearch/pull/11957))
1616

1717
### Dependencies
18+
- Update Apache Lucene to 10.1.0 ([#16366](https://github.com/opensearch-project/OpenSearch/pull/16366))
1819
- Bump Apache HttpCore5/HttpClient5 dependencies from 5.2.5/5.3.1 to 5.3.1/5.4.1 to support ExtendedSocketOption in HttpAsyncClient ([#16757](https://github.com/opensearch-project/OpenSearch/pull/16757))
1920

2021
### Changed
@@ -26,6 +27,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
2627
- Add task completion count in search backpressure stats API ([#10028](https://github.com/opensearch-project/OpenSearch/pull/10028/))
2728
- Deprecate CamelCase `PathHierarchy` tokenizer name in favor to lowercase `path_hierarchy` ([#10894](https://github.com/opensearch-project/OpenSearch/pull/10894))
2829
- Breaking change: Do not request "search_pipelines" metrics by default in NodesInfoRequest ([#12497](https://github.com/opensearch-project/OpenSearch/pull/12497))
30+
- Refactor `:libs` module `bootstrap` package to eliminate top level split packages [#17117](https://github.com/opensearch-project/OpenSearch/pull/17117))
2931
- Breaking change: Modify the utility APIs in the Metadata to get different indices ([#14723](https://github.com/opensearch-project/OpenSearch/pull/14723))
3032

3133
### Deprecated
@@ -46,6 +48,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
4648
- Remove Version.V_1_ Constants ([#5021](https://github.com/opensearch-project/OpenSearch/pull/5021))
4749
- Remove custom Map, List and Set collection classes ([#6871](https://github.com/opensearch-project/OpenSearch/pull/6871))
4850
- Remove `index.store.hybrid.mmap.extensions` setting in favor of `index.store.hybrid.nio.extensions` setting ([#9392](https://github.com/opensearch-project/OpenSearch/pull/9392))
51+
- Move o.o.action.support.master classes ([#17104](https://github.com/opensearch-project/OpenSearch/pull/17104))
4952

5053
### Fixed
5154
- Fix 'org.apache.hc.core5.http.ParseException: Invalid protocol version' under JDK 16+ ([#4827](https://github.com/opensearch-project/OpenSearch/pull/4827))

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
2424
- Add stats for remote publication failure and move download failure stats to remote methods([#16682](https://github.com/opensearch-project/OpenSearch/pull/16682/))
2525
- Update script supports java.lang.String.sha1() and java.lang.String.sha256() methods ([#16923](https://github.com/opensearch-project/OpenSearch/pull/16923))
2626
- Added a precaution to handle extreme date values during sorting to prevent `arithmetic_exception: long overflow` ([#16812](https://github.com/opensearch-project/OpenSearch/pull/16812)).
27+
- Add `verbose_pipeline` parameter to output each processor's execution details ([#16843](https://github.com/opensearch-project/OpenSearch/pull/16843)).
2728
- Add search replica stats to segment replication stats API ([#16678](https://github.com/opensearch-project/OpenSearch/pull/16678))
2829
- Introduce a setting to disable download of full cluster state from remote on term mismatch([#16798](https://github.com/opensearch-project/OpenSearch/pull/16798/))
2930
- Added ability to retrieve value from DocValues in a flat_object filed([#16802](https://github.com/opensearch-project/OpenSearch/pull/16802))
@@ -32,6 +33,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
3233
- Support object fields in star-tree index([#16728](https://github.com/opensearch-project/OpenSearch/pull/16728/))
3334
- Support searching from doc_value using termQueryCaseInsensitive/termQuery in flat_object/keyword field([#16974](https://github.com/opensearch-project/OpenSearch/pull/16974/))
3435
- Added a new `time` field to replace the deprecated `getTime` field in `GetStats`. ([#17009](https://github.com/opensearch-project/OpenSearch/pull/17009))
36+
- Improve flat_object field parsing performance by reducing two passes to a single pass ([#16297](https://github.com/opensearch-project/OpenSearch/pull/16297))
37+
- Improve performance of the bitmap filtering([#16936](https://github.com/opensearch-project/OpenSearch/pull/16936/))
38+
- Added new Setting property UnmodifiableOnRestore to prevent updating settings on restore snapshot ([#16957](https://github.com/opensearch-project/OpenSearch/pull/16957))
39+
- Introduce Template query ([#16818](https://github.com/opensearch-project/OpenSearch/pull/16818))
40+
- Propagate the sourceIncludes and excludes fields from fetchSourceContext to FieldsVisitor. ([#17080](https://github.com/opensearch-project/OpenSearch/pull/17080))
3541

3642
### Dependencies
3743
- Bump `com.google.cloud:google-cloud-core-http` from 2.23.0 to 2.47.0 ([#16504](https://github.com/opensearch-project/OpenSearch/pull/16504))
@@ -66,6 +72,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6672
- Bump `opentelemetry-semconv` from 1.27.0-alpha to 1.29.0-alpha ([#16700](https://github.com/opensearch-project/OpenSearch/pull/16700))
6773
- Bump `com.google.re2j:re2j` from 1.7 to 1.8 ([#17012](https://github.com/opensearch-project/OpenSearch/pull/17012))
6874
- Bump `com.squareup.okio:okio` from 3.9.1 to 3.10.2 ([#17060](https://github.com/opensearch-project/OpenSearch/pull/17060))
75+
- Bump `org.jruby.jcodings:jcodings` from 1.0.58 to 1.0.61 ([#17061](https://github.com/opensearch-project/OpenSearch/pull/17061))
6976

7077
### Changed
7178
- Indexed IP field supports `terms_query` with more than 1025 IP masks [#16391](https://github.com/opensearch-project/OpenSearch/pull/16391)
@@ -74,6 +81,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
7481
- Allow extended plugins to be optional ([#16909](https://github.com/opensearch-project/OpenSearch/pull/16909))
7582
- Use the correct type to widen the sort fields when merging top docs ([#16881](https://github.com/opensearch-project/OpenSearch/pull/16881))
7683
- Limit reader writer separation to remote store enabled clusters [#16760](https://github.com/opensearch-project/OpenSearch/pull/16760)
84+
- Optimize innerhits query performance [#16937](https://github.com/opensearch-project/OpenSearch/pull/16937)
7785

7886
### Deprecated
7987
- Performing update operation with default pipeline or final pipeline is deprecated ([#16712](https://github.com/opensearch-project/OpenSearch/pull/16712))
@@ -103,7 +111,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
103111
- Fix Shallow copy snapshot failures on closed index ([#16868](https://github.com/opensearch-project/OpenSearch/pull/16868))
104112
- Fix multi-value sort for unsigned long ([#16732](https://github.com/opensearch-project/OpenSearch/pull/16732))
105113
- The `phone-search` analyzer no longer emits the tel/sip prefix, international calling code, extension numbers and unformatted input as a token ([#16993](https://github.com/opensearch-project/OpenSearch/pull/16993))
114+
- Stop processing search requests when _msearch request is cancelled ([#17005](https://github.com/opensearch-project/OpenSearch/pull/17005))
106115
- Fix GRPC AUX_TRANSPORT_PORT and SETTING_GRPC_PORT settings and remove lingering HTTP terminology ([#17037](https://github.com/opensearch-project/OpenSearch/pull/17037))
116+
- Fix exists queries on nested flat_object fields throws exception ([#16803](https://github.com/opensearch-project/OpenSearch/pull/16803))
117+
- Use OpenSearch version to deserialize remote custom metadata([#16494](https://github.com/opensearch-project/OpenSearch/pull/16494))
107118

108119
### Security
109120

MAINTAINERS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This document contains a list of maintainers in this repo. See [opensearch-proje
1616
| Craig Perkins | [cwperks](https://github.com/cwperks) | Amazon |
1717
| Dan Widdis | [dbwiddis](https://github.com/dbwiddis) | Amazon |
1818
| Daniel "dB." Doubrovkine | [dblock](https://github.com/dblock) | Amazon |
19-
| Gao Binlong | [gaobinlong](https://github.com/gaobinlong) | Amazon |
19+
| Binlong Gao | [gaobinlong](https://github.com/gaobinlong) | Amazon |
2020
| Gaurav Bafna | [gbbafna](https://github.com/gbbafna) | Amazon |
2121
| Jay Deng | [jed326](https://github.com/jed326) | Amazon |
2222
| Kunal Kotwani | [kotwanikunal](https://github.com/kotwanikunal) | Amazon |

benchmarks/build.gradle

Lines changed: 2 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -85,44 +85,5 @@ spotless {
8585
}
8686
}
8787

88-
if (BuildParams.runtimeJavaVersion >= JavaVersion.VERSION_20) {
89-
// Add support for incubator modules on supported Java versions.
90-
run.jvmArgs += ['--add-modules=jdk.incubator.vector']
91-
run.classpath += files(jar.archiveFile)
92-
run.classpath -= sourceSets.main.output
93-
evaluationDependsOn(':libs:opensearch-common')
94-
95-
sourceSets {
96-
java20 {
97-
java {
98-
srcDirs = ['src/main/java20']
99-
}
100-
}
101-
}
102-
103-
configurations {
104-
java20Implementation.extendsFrom(implementation)
105-
}
106-
107-
dependencies {
108-
java20Implementation sourceSets.main.output
109-
java20Implementation project(':libs:opensearch-common').sourceSets.java20.output
110-
java20AnnotationProcessor "org.openjdk.jmh:jmh-generator-annprocess:$versions.jmh"
111-
}
112-
113-
compileJava20Java {
114-
targetCompatibility = JavaVersion.VERSION_20
115-
options.compilerArgs.addAll(["-processor", "org.openjdk.jmh.generators.BenchmarkProcessor"])
116-
}
117-
118-
jar {
119-
metaInf {
120-
into 'versions/20'
121-
from sourceSets.java20.output
122-
}
123-
manifest.attributes('Multi-Release': 'true')
124-
}
125-
126-
// classes generated by JMH can use all sorts of forbidden APIs but we have no influence at all and cannot exclude these classes
127-
disableTasks('forbiddenApisJava20')
128-
}
88+
// Add support for incubator modules on supported Java versions.
89+
run.jvmArgs += ['--add-modules=jdk.incubator.vector']

benchmarks/src/main/java/org/opensearch/common/round/RoundableSupplier.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
public class RoundableSupplier implements Supplier<Roundable> {
1414
private final Supplier<Roundable> delegate;
1515

16-
RoundableSupplier(String type, long[] values, int size) throws ClassNotFoundException {
16+
RoundableSupplier(String type, long[] values, int size) {
1717
switch (type) {
1818
case "binary":
1919
delegate = () -> new BinarySearcher(values, size);
@@ -22,7 +22,8 @@ public class RoundableSupplier implements Supplier<Roundable> {
2222
delegate = () -> new BidirectionalLinearSearcher(values, size);
2323
break;
2424
case "btree":
25-
throw new ClassNotFoundException("BtreeSearcher is not supported below JDK 20");
25+
delegate = () -> new BtreeSearcher(values, size);
26+
break;
2627
default:
2728
throw new IllegalArgumentException("invalid type: " + type);
2829
}

buildSrc/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ processResources {
7474
* Java version *
7575
*****************************************************************************/
7676

77-
if (JavaVersion.current() < JavaVersion.VERSION_11) {
78-
throw new GradleException('At least Java 11 is required to build opensearch gradle tools')
77+
if (JavaVersion.current() < JavaVersion.VERSION_21) {
78+
throw new GradleException('At least Java 21 is required to build opensearch gradle tools')
7979
}
8080

8181
sourceSets {
@@ -111,7 +111,7 @@ dependencies {
111111
api 'org.apache.rat:apache-rat:0.15'
112112
api "commons-io:commons-io:${props.getProperty('commonsio')}"
113113
api "net.java.dev.jna:jna:5.14.0"
114-
api 'com.github.johnrengelman:shadow:8.1.1'
114+
api 'com.gradleup.shadow:shadow-gradle-plugin:8.3.5'
115115
api 'org.jdom:jdom2:2.0.6.1'
116116
api "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${props.getProperty('kotlin')}"
117117
api 'de.thetaphi:forbiddenapis:3.8'
@@ -171,8 +171,8 @@ if (project != rootProject) {
171171

172172
allprojects {
173173
java {
174-
targetCompatibility = JavaVersion.VERSION_11
175-
sourceCompatibility = JavaVersion.VERSION_11
174+
targetCompatibility = JavaVersion.VERSION_21
175+
sourceCompatibility = JavaVersion.VERSION_21
176176
}
177177
}
178178

buildSrc/reaper/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
apply plugin: 'java'
1313

1414
java {
15-
targetCompatibility = JavaVersion.VERSION_11
16-
sourceCompatibility = JavaVersion.VERSION_11
15+
targetCompatibility = JavaVersion.VERSION_21
16+
sourceCompatibility = JavaVersion.VERSION_21
1717
}
1818

1919
jar {

buildSrc/src/integTest/resources/org/opensearch/gradle/internal/fake_git/remote/.ci/java-versions.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
# specific language governing permissions and limitations
2828
# under the License.
2929
#
30-
OPENSEARCH_BUILD_JAVA=openjdk11
31-
OPENSEARCH_RUNTIME_JAVA=java11
30+
OPENSEARCH_BUILD_JAVA=openjdk21
31+
OPENSEARCH_RUNTIME_JAVA=java21
3232
GRADLE_TASK=build

buildSrc/src/main/java/org/opensearch/gradle/precommit/JarHellTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public JarHellTask(Project project) {
6363
public void runJarHellCheck() {
6464
LoggedExec.javaexec(project, spec -> {
6565
spec.environment("CLASSPATH", getClasspath().getAsPath());
66-
spec.getMainClass().set("org.opensearch.bootstrap.JarHell");
66+
spec.getMainClass().set("org.opensearch.common.bootstrap.JarHell");
6767
});
6868
}
6969

buildSrc/src/main/java/org/opensearch/gradle/precommit/ThirdPartyAuditTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public class ThirdPartyAuditTask extends DefaultTask {
9494
CliMain.EXIT_VIOLATION,
9595
CliMain.EXIT_UNSUPPORTED_JDK
9696
);
97-
private static final String JDK_JAR_HELL_MAIN_CLASS = "org.opensearch.bootstrap.JdkJarHellCheck";
97+
private static final String JDK_JAR_HELL_MAIN_CLASS = "org.opensearch.common.bootstrap.JdkJarHellCheck";
9898

9999
private Set<String> missingClassExcludes = new TreeSet<>();
100100

buildSrc/src/main/resources/forbidden/opensearch-server-signatures.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ java.nio.channels.FileChannel#read(java.nio.ByteBuffer, long)
6161
@defaultMessage Use Lucene.parseLenient instead it strips off minor version
6262
org.apache.lucene.util.Version#parseLeniently(java.lang.String)
6363

64-
@defaultMessage Spawns a new thread which is solely under lucenes control use ThreadPool#relativeTimeInMillis instead
65-
org.apache.lucene.search.TimeLimitingCollector#getGlobalTimerThread()
66-
org.apache.lucene.search.TimeLimitingCollector#getGlobalCounter()
67-
6864
@defaultMessage Don't interrupt threads use FutureUtils#cancel(Future<T>) instead
6965
java.util.concurrent.Future#cancel(boolean)
7066

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
17
1+
21
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
11
1+
21

buildSrc/src/testFixtures/java/org/opensearch/gradle/test/TestClasspathUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class TestClasspathUtils {
4848
public static void setupJarJdkClasspath(File projectRoot) {
4949
try {
5050
URL originLocation = TestClasspathUtils.class.getClassLoader()
51-
.loadClass("org.opensearch.bootstrap.JdkJarHellCheck")
51+
.loadClass("org.opensearch.common.bootstrap.JdkJarHellCheck")
5252
.getProtectionDomain()
5353
.getCodeSource()
5454
.getLocation();

buildSrc/src/testKit/thirdPartyAudit/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ dependencies {
4646
}
4747

4848
tasks.register("empty", ThirdPartyAuditTask) {
49-
targetCompatibility = JavaVersion.VERSION_11
49+
targetCompatibility = JavaVersion.VERSION_21
5050
signatureFile = file('third-party-audit-empty.txt')
5151
}
5252

5353
tasks.register("absurd", ThirdPartyAuditTask) {
54-
targetCompatibility = JavaVersion.VERSION_11
54+
targetCompatibility = JavaVersion.VERSION_21
5555
signatureFile = file('third-party-audit-absurd.txt')
5656
}

client/rest-high-level/src/main/java/org/opensearch/client/ClusterClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
import org.opensearch.action.admin.cluster.settings.ClusterGetSettingsResponse;
3939
import org.opensearch.action.admin.cluster.settings.ClusterUpdateSettingsRequest;
4040
import org.opensearch.action.admin.cluster.settings.ClusterUpdateSettingsResponse;
41-
import org.opensearch.action.support.master.AcknowledgedResponse;
41+
import org.opensearch.action.support.clustermanager.AcknowledgedResponse;
4242
import org.opensearch.client.cluster.RemoteInfoRequest;
4343
import org.opensearch.client.cluster.RemoteInfoResponse;
4444
import org.opensearch.client.indices.ComponentTemplatesExistRequest;

0 commit comments

Comments
 (0)