Skip to content

Commit

Permalink
Merge branch 'opensearch-project:main' into seg-rep/checkpoint-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishikesh1159 authored May 23, 2022
2 parents 4c97019 + 55ca331 commit bd17e4f
Show file tree
Hide file tree
Showing 125 changed files with 1,135 additions and 1,342 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/lucene-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jobs:
echo "::set-output name=REVISION::$(git rev-parse --short HEAD)"
id: version

- name: Initialize gradle settings
working-directory: ./lucene
run: ./gradlew localSettings

- name: Publish Lucene to local maven repo.
working-directory: ./lucene
run: ./gradlew publishJarsPublicationToMavenLocal -Pversion.suffix=snapshot-${{ steps.version.outputs.REVISION }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ com.carrotsearch.randomizedtesting.annotations.Seed @ Don't commit hardcoded see
com.carrotsearch.randomizedtesting.annotations.Repeat @ Don't commit hardcoded repeats

org.apache.lucene.codecs.Codec#setDefault(org.apache.lucene.codecs.Codec) @ Use the SuppressCodecs("*") annotation instead
org.apache.lucene.tests.util.LuceneTestCase$Slow @ Don't write slow tests
org.junit.Ignore @ Use AwaitsFix instead
org.apache.lucene.tests.util.LuceneTestCase$Nightly @ We don't run nightly tests at this point!
com.carrotsearch.randomizedtesting.annotations.Nightly @ We don't run nightly tests at this point!
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/version.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
opensearch = 3.0.0
lucene = 9.2.0-snapshot-f4f1f70
lucene = 9.2.0-snapshot-ba8c3a8

bundled_jdk_vendor = adoptium
bundled_jdk = 17.0.3+7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
import java.io.Closeable;
import java.io.IOException;
import java.io.OutputStream;
import java.net.URI;
import java.nio.channels.FileChannel;
import java.nio.charset.StandardCharsets;
import java.nio.file.AccessDeniedException;
Expand Down Expand Up @@ -172,10 +171,8 @@ public void runTestRm(final boolean exception) throws IOException {
for (int i = 0; i < numberOfLocations; i++) {
if (exception && randomBoolean()) {
final Path location = createTempDir();
final FileSystem fs = new AccessDeniedWhileDeletingFileSystem(location.getFileSystem()).getFileSystem(
URI.create("file:///")
);
final Path wrapped = new FilterPath(location, fs);
final FilterFileSystemProvider ffsp = new AccessDeniedWhileDeletingFileSystem(location.getFileSystem());
final Path wrapped = ffsp.wrapPath(location);
locations[i] = wrapped.resolve(randomAlphaOfLength(8));
Files.createDirectory(locations[i]);
locationsThrowingException.add(locations[i]);
Expand Down Expand Up @@ -256,8 +253,8 @@ public FileChannel newFileChannel(final Path path, final Set<? extends OpenOptio

public void testFsyncAccessDeniedOpeningDirectory() throws Exception {
final Path path = createTempDir().toRealPath();
final FileSystem fs = new AccessDeniedWhileOpeningDirectoryFileSystem(path.getFileSystem()).getFileSystem(URI.create("file:///"));
final Path wrapped = new FilterPath(path, fs);
final FilterFileSystemProvider ffsp = new AccessDeniedWhileOpeningDirectoryFileSystem(path.getFileSystem());
final Path wrapped = ffsp.wrapPath(path);
if (Constants.WINDOWS) {
// no exception, we early return and do not even try to open the directory
IOUtils.fsync(wrapped, true);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fe5e4cf94d26bbe1d982808f34fa132bba5565e3

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9fc73c790c037e817635fcc30ea0891e6acd2fac

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
058ffd84388f9ffcf0bfdd7f43a6e832836a2927

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fb166f35ba04a7687b3073afb9972f6669ac722e

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
abf9eb24601ec11ce5b61e4753b41444a869b29d

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b310130fe9e0f31ce4218cda921309b1143f3541

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ad8783255cdcb6e7ab23a505123716ad979f3484

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
75f8fbb94a303d04c5dc2b25436300a463003dd6

This file was deleted.

2 changes: 1 addition & 1 deletion plugins/repository-azure/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ dependencies {
implementation project(':modules:transport-netty4')
api 'com.azure:azure-storage-blob:12.16.1'
api 'org.reactivestreams:reactive-streams:1.0.3'
api 'io.projectreactor:reactor-core:3.4.17'
api 'io.projectreactor:reactor-core:3.4.18'
api 'io.projectreactor.netty:reactor-netty:1.0.18'
api 'io.projectreactor.netty:reactor-netty-core:1.0.19'
api 'io.projectreactor.netty:reactor-netty-http:1.0.18'
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
29f4f3a4876a65861deffc0f7f189029bcaf7946
2 changes: 1 addition & 1 deletion plugins/repository-gcs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ dependencies {
api 'com.google.http-client:google-http-client-appengine:1.41.8'
api 'com.google.http-client:google-http-client-jackson2:1.35.0'
api 'com.google.http-client:google-http-client-gson:1.41.4'
api 'com.google.api:gax-httpjson:0.101.0'
api 'com.google.api:gax-httpjson:0.103.1'
api 'io.grpc:grpc-context:1.46.0'
api 'io.opencensus:opencensus-api:0.18.0'
api 'io.opencensus:opencensus-contrib-http-util:0.18.0'
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
041d99172fda933bc879bdfd8de9420c5c34107e
Loading

0 comments on commit bd17e4f

Please sign in to comment.