Skip to content

Commit

Permalink
Merge branch 'main' into refactoring/object_mapper_merge_instanceof
Browse files Browse the repository at this point in the history
  • Loading branch information
javanna committed Jan 18, 2024
2 parents 4c7c9d8 + 067eb34 commit c6d0d2e
Show file tree
Hide file tree
Showing 858 changed files with 12,334 additions and 5,812 deletions.
2 changes: 1 addition & 1 deletion .buildkite/pipelines/intake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ steps:
timeout_in_minutes: 300
matrix:
setup:
BWC_VERSION: ["7.17.17", "8.11.5", "8.12.0", "8.13.0"]
BWC_VERSION: ["7.17.17", "8.12.1", "8.13.0"]
agents:
provider: gcp
image: family/elasticsearch-ubuntu-2004
Expand Down
12 changes: 6 additions & 6 deletions .buildkite/pipelines/periodic-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1793,8 +1793,8 @@ steps:
env:
BWC_VERSION: 8.11.4

- label: "{{matrix.image}} / 8.11.5 / packaging-tests-upgrade"
command: ./.ci/scripts/packaging-test.sh -Dbwc.checkout.align=true destructiveDistroUpgradeTest.v8.11.5
- label: "{{matrix.image}} / 8.12.0 / packaging-tests-upgrade"
command: ./.ci/scripts/packaging-test.sh -Dbwc.checkout.align=true destructiveDistroUpgradeTest.v8.12.0
timeout_in_minutes: 300
matrix:
setup:
Expand All @@ -1807,10 +1807,10 @@ steps:
machineType: custom-16-32768
buildDirectory: /dev/shm/bk
env:
BWC_VERSION: 8.11.5
BWC_VERSION: 8.12.0

- label: "{{matrix.image}} / 8.12.0 / packaging-tests-upgrade"
command: ./.ci/scripts/packaging-test.sh -Dbwc.checkout.align=true destructiveDistroUpgradeTest.v8.12.0
- label: "{{matrix.image}} / 8.12.1 / packaging-tests-upgrade"
command: ./.ci/scripts/packaging-test.sh -Dbwc.checkout.align=true destructiveDistroUpgradeTest.v8.12.1
timeout_in_minutes: 300
matrix:
setup:
Expand All @@ -1823,7 +1823,7 @@ steps:
machineType: custom-16-32768
buildDirectory: /dev/shm/bk
env:
BWC_VERSION: 8.12.0
BWC_VERSION: 8.12.1

- label: "{{matrix.image}} / 8.13.0 / packaging-tests-upgrade"
command: ./.ci/scripts/packaging-test.sh -Dbwc.checkout.align=true destructiveDistroUpgradeTest.v8.13.0
Expand Down
12 changes: 6 additions & 6 deletions .buildkite/pipelines/periodic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1102,26 +1102,26 @@ steps:
buildDirectory: /dev/shm/bk
env:
BWC_VERSION: 8.11.4
- label: 8.11.5 / bwc
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v8.11.5#bwcTest
- label: 8.12.0 / bwc
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v8.12.0#bwcTest
timeout_in_minutes: 300
agents:
provider: gcp
image: family/elasticsearch-ubuntu-2004
machineType: n1-standard-32
buildDirectory: /dev/shm/bk
env:
BWC_VERSION: 8.11.5
- label: 8.12.0 / bwc
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v8.12.0#bwcTest
BWC_VERSION: 8.12.0
- label: 8.12.1 / bwc
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v8.12.1#bwcTest
timeout_in_minutes: 300
agents:
provider: gcp
image: family/elasticsearch-ubuntu-2004
machineType: n1-standard-32
buildDirectory: /dev/shm/bk
env:
BWC_VERSION: 8.12.0
BWC_VERSION: 8.12.1
- label: 8.13.0 / bwc
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v8.13.0#bwcTest
timeout_in_minutes: 300
Expand Down
2 changes: 1 addition & 1 deletion .ci/bwcVersions
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,6 @@ BWC_VERSION:
- "8.11.2"
- "8.11.3"
- "8.11.4"
- "8.11.5"
- "8.12.0"
- "8.12.1"
- "8.13.0"
3 changes: 1 addition & 2 deletions .ci/snapshotBwcVersions
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
BWC_VERSION:
- "7.17.17"
- "8.11.5"
- "8.12.0"
- "8.12.1"
- "8.13.0"
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import org.elasticsearch.index.shard.ShardId;
import org.elasticsearch.indices.SystemIndices;
import org.elasticsearch.tasks.TaskManager;
import org.elasticsearch.telemetry.metric.MeterRegistry;
import org.elasticsearch.threadpool.ThreadPool;
import org.openjdk.jmh.annotations.Benchmark;
import org.openjdk.jmh.annotations.BenchmarkMode;
Expand Down Expand Up @@ -166,7 +167,7 @@ public void setUp() throws Exception {
.build();

Settings settings = Settings.builder().put("node.name", ShardsAvailabilityHealthIndicatorBenchmark.class.getSimpleName()).build();
ThreadPool threadPool = new ThreadPool(settings);
ThreadPool threadPool = new ThreadPool(settings, MeterRegistry.NOOP);

ClusterService clusterService = new ClusterService(
Settings.EMPTY,
Expand Down
3 changes: 0 additions & 3 deletions branches.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
{
"branch": "8.12"
},
{
"branch": "8.11"
},
{
"branch": "7.17"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

package org.elasticsearch.gradle.internal

import spock.lang.Ignore

import org.apache.commons.compress.archivers.tar.TarArchiveEntry
import org.apache.commons.compress.archivers.tar.TarArchiveInputStream
import org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
Expand Down Expand Up @@ -36,6 +38,11 @@ class SymbolicLinkPreservingTarFuncTest extends AbstractGradleFuncTest {
final Path linkToRealFolder = archiveSourceRoot.resolve("link-to-real-folder");
Files.createSymbolicLink(linkToRealFolder, Paths.get("./real-folder"));

final Path realFolder2 = testProjectDir.getRoot().toPath().resolve("real-folder2")
final Path realFolderSub = realFolder2.resolve("sub")
Files.createDirectory(realFolder2);
Files.createDirectory(realFolderSub);

buildFile << """
import org.elasticsearch.gradle.internal.SymbolicLinkPreservingTar
Expand All @@ -56,6 +63,12 @@ tasks.register("buildBZip2Tar", SymbolicLinkPreservingTar) { SymbolicLinkPreserv
tar.compression = Compression.BZIP2
tar.preserveFileTimestamps = ${preserverTimestamp}
from fileTree("archiveRoot")
into('config') {
dirMode 0750
fileMode 0660
from "real-folder2"
}
}
"""
when:
Expand Down Expand Up @@ -118,14 +131,20 @@ tasks.register("buildTar", SymbolicLinkPreservingTar) { SymbolicLinkPreservingTa
if (entry.getName().equals("real-folder/")) {
assert entry.isDirectory()
realFolderEntry = true
} else if (entry.getName().equals("real-folder/file")) {
} else if (entry.getName().equals("real-folder/file")) {
assert entry.isFile()
fileEntry = true
} else if (entry.getName().equals("real-folder/link-to-file")) {
assert entry.isSymbolicLink()
assert normalized(entry.getLinkName()) == "./file"
linkToFileEntry = true
} else if (entry.getName().equals("link-in-folder/")) {
} else if (entry.getName().equals("config/")) {
assert entry.isDirectory()
assert entry.getMode() == 16877
} else if (entry.getName().equals("config/sub/")) {
assert entry.isDirectory()
assert entry.getMode() == 16872
}else if (entry.getName().equals("link-in-folder/")) {
assert entry.isDirectory()
linkInFolderEntry = true
} else if (entry.getName().equals("link-in-folder/link-to-file")) {
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 @@ -2,7 +2,7 @@ elasticsearch = 8.13.0
lucene = 9.9.1

bundled_jdk_vendor = openjdk
bundled_jdk = 21.0.1+12@415e3f918a1f4062a0074a2794853d0d
bundled_jdk = 21.0.2+13@f2283984656d49d69e91c558476027ac
# optional dependencies
spatial4j = 0.7
jts = 1.15.0
Expand Down
5 changes: 0 additions & 5 deletions docs/changelog/100031.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions docs/changelog/100033.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/100236.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/100287.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions docs/changelog/100316.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/100333.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/100368.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/100383.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/100392.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/100408.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/100466.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions docs/changelog/100492.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/100519.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/100565.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/100570.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/100609.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions docs/changelog/100642.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/100646.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions docs/changelog/100776.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions docs/changelog/100826.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/100828.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/100862.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/100899.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/100921.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/100938.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/100974.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/100990.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/101024.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/101026.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/101032.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/101050.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/101055.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/101057.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions docs/changelog/101066.yaml

This file was deleted.

Loading

0 comments on commit c6d0d2e

Please sign in to comment.