Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into blobcache/extract-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
romseygeek committed Oct 4, 2023
2 parents e92d189 + 22a0ae1 commit 9432c40
Show file tree
Hide file tree
Showing 1,206 changed files with 21,634 additions and 12,471 deletions.
4 changes: 2 additions & 2 deletions .backportrc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"upstream" : "elastic/elasticsearch",
"targetBranchChoices" : [ "main", "8.10", "8.9", "8.8", "8.7", "8.6", "8.5", "8.4", "8.3", "8.2", "8.1", "8.0", "7.17", "6.8" ],
"targetBranchChoices" : [ "main", "8.11", "8.10", "8.9", "8.8", "8.7", "8.6", "8.5", "8.4", "8.3", "8.2", "8.1", "8.0", "7.17", "6.8" ],
"targetPRLabels" : [ "backport" ],
"branchLabelMapping" : {
"^v8.11.0$" : "main",
"^v8.12.0$" : "main",
"^v(\\d+).(\\d+).\\d+(?:-(?:alpha|beta|rc)\\d+)?$" : "$1.$2"
}
}
2 changes: 1 addition & 1 deletion .buildkite/check-es-serverless.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
steps:
- trigger: elasticsearch-serverless-update-submodule
- trigger: elasticsearch-serverless-validate-submodule
label: ":elasticsearch: Check elasticsearch changes against serverless"
build:
message: "Validate latest elasticsearch changes"
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/pipelines/intake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ steps:
timeout_in_minutes: 300
matrix:
setup:
BWC_VERSION: ["7.17.14", "8.10.3", "8.11.0"]
BWC_VERSION: ["7.17.14", "8.10.3", "8.11.0", "8.12.0"]
agents:
provider: gcp
image: family/elasticsearch-ubuntu-2004
Expand Down
16 changes: 16 additions & 0 deletions .buildkite/pipelines/periodic-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1664,6 +1664,22 @@ steps:
env:
BWC_VERSION: 8.11.0

- 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:
image:
- rocky-8
- ubuntu-2004
agents:
provider: gcp
image: family/elasticsearch-{{matrix.image}}
machineType: custom-16-32768
buildDirectory: /dev/shm/bk
env:
BWC_VERSION: 8.12.0

- group: packaging-tests-windows
steps:
- label: "{{matrix.image}} / packaging-tests-windows"
Expand Down
11 changes: 11 additions & 0 deletions .buildkite/pipelines/periodic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1022,6 +1022,16 @@ steps:
buildDirectory: /dev/shm/bk
env:
BWC_VERSION: 8.11.0
- 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: custom-32-98304
buildDirectory: /dev/shm/bk
env:
BWC_VERSION: 8.12.0
- label: concurrent-search-tests
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true -Dtests.jvm.argline=-Des.concurrent_search=true -Des.concurrent_search=true check
timeout_in_minutes: 420
Expand Down Expand Up @@ -1176,6 +1186,7 @@ steps:
provider: gcp
image: family/elasticsearch-ubuntu-2004
machineType: n2-standard-8
buildDirectory: /dev/shm/bk
- label: third-party / s3
command: |
export amazon_s3_bucket=elasticsearch-ci.us-west-2
Expand Down
2 changes: 0 additions & 2 deletions .buildkite/scripts/dra-workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ find "$WORKSPACE" -type d -path "*/build/distributions" -exec chmod a+w {} \;

echo --- Running release-manager

exit 0

# Artifacts should be generated
docker run --rm \
--name release-manager \
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/update-es-serverless.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
steps:
- trigger: elasticsearch-serverless-update-submodule
- trigger: elasticsearch-serverless-validate-submodule
label: ":elasticsearch: Update elasticsearch submodule in serverless"
build:
message: "Elasticsearch submodule update build"
Expand Down
1 change: 1 addition & 0 deletions .ci/bwcVersions
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,4 @@ BWC_VERSION:
- "8.10.2"
- "8.10.3"
- "8.11.0"
- "8.12.0"
2 changes: 2 additions & 0 deletions .ci/dockerOnLinuxExclusions
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@
# excluded.
debian-8
opensuse-leap-15.1
opensuse-leap-15.5
ol-7.7
sles-12.3 # older version used in Vagrant image
sles-12.5
sles-15.1
sles-15.2
sles-15.3
sles-15.4
sles-15.5

# These OSes are deprecated and filtered starting with 8.0.0, but need to be excluded
# for PR checks
Expand Down
66 changes: 0 additions & 66 deletions .ci/jobs.t/elastic+elasticsearch+dra-snapshot.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .ci/jobs.t/elastic+elasticsearch+dra-staging-trigger.yml

This file was deleted.

51 changes: 0 additions & 51 deletions .ci/jobs.t/elastic+elasticsearch+dra-staging-update.yml

This file was deleted.

77 changes: 0 additions & 77 deletions .ci/jobs.t/elastic+elasticsearch+dra-staging.yml

This file was deleted.

1 change: 1 addition & 0 deletions .ci/snapshotBwcVersions
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ BWC_VERSION:
- "7.17.14"
- "8.10.3"
- "8.11.0"
- "8.12.0"
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,12 @@ public class AggregatorBenchmark {
public String blockType;

private static Operator operator(String grouping, String op, String dataType) {
DriverContext driverContext = driverContext();
if (grouping.equals("none")) {
return new AggregationOperator(List.of(supplier(op, dataType, 0).aggregatorFactory(AggregatorMode.SINGLE).get()));
return new AggregationOperator(
List.of(supplier(op, dataType, 0).aggregatorFactory(AggregatorMode.SINGLE).apply(driverContext)),
driverContext
);
}
List<HashAggregationOperator.GroupSpec> groups = switch (grouping) {
case LONGS -> List.of(new HashAggregationOperator.GroupSpec(0, ElementType.LONG));
Expand All @@ -141,10 +145,9 @@ private static Operator operator(String grouping, String op, String dataType) {
);
default -> throw new IllegalArgumentException("unsupported grouping [" + grouping + "]");
};
DriverContext driverContext = driverContext();
return new HashAggregationOperator(
List.of(supplier(op, dataType, groups.size()).groupingAggregatorFactory(AggregatorMode.SINGLE)),
() -> BlockHash.build(groups, BIG_ARRAYS, 16 * 1024, false),
() -> BlockHash.build(groups, driverContext, 16 * 1024, false),
driverContext
);
}
Expand Down
Loading

0 comments on commit 9432c40

Please sign in to comment.