Commit graph

2388 commits

Author SHA1 Message Date
Lorenzo Dematté
591a08f506
[Entitlements] Validation checks on paths (#126852) (#127055)
With this PR we restrict the paths we allow access to, forbidding plugins to specify/request entitlements for reading or writing to specific protected directories.

I added this validation to EntitlementInitialization, as I wanted to fail fast and this is the earliest occurrence where we have all we need: PathLookup to resolve relative paths, policies (for plugins, server, agents) and the Paths for the specific directories we want to protect.

Relates to ES-10918
2025-04-19 00:44:49 +10:00
David Turner
d04357ba98
Fix race condition in RestCancellableNodeClient (#126686) (#126696)
Today we rely on registering the channel after registering the task to
be cancelled to ensure that the task is cancelled even if the channel is
closed concurrently. However the client may already have processed a
cancellable request on the channel and therefore this mechanism doesn't
work. With this change we make sure not to register another task after
draining the registrations in order to cancel them.

Closes #88201
2025-04-12 02:09:05 +10:00
Ben Chaplin
a305288410
[8.18] Log stack traces on data nodes before they are cleared for transport (#125732) (#126246)
* Log stack traces on data nodes before they are cleared for transport (#125732)

We recently cleared stack traces on data nodes before transport back to the coordinating node 
when error_trace=false to reduce unnecessary data transfer and memory on the coordinating 
node (#118266). However, all logging of exceptions happens on the coordinating node, so stack 
traces disappeared from any logs. This change logs stack traces directly on the data node when 
error_trace=false.

(cherry picked from commit 9f6eb1d4e3)
2025-04-04 11:44:38 -04:00
Lorenzo Dematté
73d67e2249
[Entitlements] Replace Permissions with Entitlements in InstallPluginAction (#125207) (#126119)
This PR replaces the parsing and formatting of SecurityManager policies with the parsing and formatting of Entitlements policy during plugin installation.

Relates to ES-10923
2025-04-02 17:05:18 +02:00
Carlos Delgado
51b715f2bc
[8.18] Non existing synonyms sets do not fail shard recovery (#125659) (#125796) 2025-03-28 07:39:43 +01:00
Mark Vieira
44b928b206
[8.18] Migrate legacy QA projects to new test clusters framework (#125545) (#125718) 2025-03-27 10:07:37 -07:00
Mark Vieira
fb3fc17777
[8.18] Re-enable VerifyVersionConstantsIT (#125605) (#125616)
* Re-enable VerifyVersionConstantsIT (#125605)

(cherry picked from commit 65751062f7)

# Conflicts:
#	qa/verify-version-constants/build.gradle

* Fix test
2025-03-26 13:43:07 +11:00
Keith Massey
7c6e1303c4
Using a consistent index template name to avoid undefined behavior (#125624) (#125629) 2025-03-26 10:58:29 +11:00
Martijn van Groningen
fbc7bbc30e
[8.18] Avoid serializing empty _source fields in mappings. (#124198)
Backporting #122606 to 8.18 branch.
2025-03-08 08:44:20 +01:00
Rene Groeschke
378ae94c06
Update Gradle wrapper to 8.13 (#122421) (#123878)
* Fix Gradle Deprecation warning as declaring an is- property with a Boolean type has been deprecated.
* Make use of new layout.settingsFolder api to address some cross project references
* Fix buildParams snapshot check for multiprojet projects

(cherry picked from commit e19b2264af)

# Conflicts:
#	build-tools-internal/gradle/wrapper/gradle-wrapper.properties
#	build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BaseInternalPluginBuildPlugin.java
#	build-tools-internal/src/main/resources/minimumGradleVersion
#	docs/build.gradle
#	gradle/wrapper/gradle-wrapper.properties
#	plugins/examples/gradle/wrapper/gradle-wrapper.properties
#	qa/lucene-index-compatibility/build.gradle
#	x-pack/qa/multi-project/core-rest-tests-with-multiple-projects/build.gradle
#	x-pack/qa/multi-project/xpack-rest-tests-with-multiple-projects/build.gradle
2025-03-05 15:57:38 +01:00
Mark Vieira
ca2aa2bd31
Add jdk.management.agent module to server boot layer on start (#123938) (#124043) 2025-03-05 07:49:59 +11:00
Alexey Ivanov
a425c05dd4
[8.18] Move system indices migration to migrate plugin (#123551) (#123934)
* Move system indices migration to migrate plugin (#123551)

It seems the best way to fix #122949 is to use existing data stream reindex API. However, this API is located in the migrate x-pack plugin. This commit moves the system indices migration logic (REST handlers, transport actions, and task) to the migrate plugin.

(cherry picked from commit 0a769c8391)

* Restore tests
2025-03-04 11:37:07 +11:00
Mark Vieira
5583d735a8
[8.18] Fix enrollment packaging test when running on Java 24 (#123650) (#123658)
* Fix enrollment packaging test when running on Java 24 (#123650)

* Remove usage of Java 21-only API
2025-02-28 10:54:46 +11:00
Mark Vieira
3171cb1ef1
[8.18] Add forwards compatibility testing (#123436) (#123538)
* Add forwards compatibility testing (#123436)

(cherry picked from commit feb3a60e98)

# Conflicts:
#	test/test-clusters/src/main/java/org/elasticsearch/test/cluster/local/distribution/SnapshotDistributionResolver.java

* [CI] Auto commit changes from spotless

---------

Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
2025-02-27 05:56:50 +11:00
Benjamin Trent
b81add7f5a
Potentially addressing bbq bwc failures and added logging (#122553) (#123143)
I have ran this many times locally, and it never failed. Maybe there is
something "magical" in CI.

Added some additional info in the assertion logging.

(cherry picked from commit 894db68357)
2025-02-22 01:21:24 +11:00
Moritz Mack
2cc010a86a
Skip SM policy tests for JDK 24 when Security Manager is not available anymore (#122828) (#122837) 2025-02-19 01:26:36 +11:00
Joe Gallo
ed3669470e
Handle 404s from the _cat/indices api in FullClusterRestartIT (#122537) (#122564) 2025-02-14 16:22:17 +11:00
Ryan Ernst
3537349096
Rename environment dir accessors (#121803) (#121836)
* Rename environment dir accessors (#121803)

The node environment has many paths. The accessors for these currently use a "file" suffix, but they are always directories. This commit renames the accessors to make it clear these paths are directories.

* [CI] Auto commit changes from spotless

---------

Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
2025-02-06 10:28:25 +11:00
Armin Braun
dfa1fc4034
Fix SearchResponse leak in CrossClusterSearchUnavailableClusterIT (#121681) (#121696)
Fixing an obvious leak where we fail to count down 1 for a new search
response.
2025-02-05 06:51:10 +11:00
Rene Groeschke
38f5207f3d
[8.x] [Gradle] Make rolling upgrade tests configuration cache compatible (#119577) (#120315)
* [Gradle] Make rolling upgrade tests configuration cache compatible (#119577)

With this, all rolling upgrade tests that involve a
`nextNodeToNextVersion` update are gradle configuration cache
compatible.

Simplify API around test cluster registry and cc compatible usage of
test cluster in TestClusterAware tasks.

(cherry picked from commit 7b6bdfa323)

# Conflicts:
#	qa/ccs-rolling-upgrade-remote-cluster/build.gradle
#	x-pack/plugin/sql/qa/jdbc/security/build.gradle
#	x-pack/plugin/sql/qa/server/security/build.gradle

* Fix backport merge issue
2025-01-30 04:15:33 +11:00
Benjamin Trent
4d8cdba39f
Mark bbq indices as GA and add rolling upgrade integration tests (#121105) (#121190)
With the introduction of our new backing algorithm and making rescoring
easier with the `rescore_vector` API, let's mark bbq as GA. 

Additionally, this commit adds rolling upgrade tests to ensure
stability.
2025-01-30 03:05:43 +11:00
Slobodan Adamović
7245c05a44
[8.x] Enable queryable built-in roles feature by default (#120323) (#120886)
* Enable queryable built-in roles feature by default (#120323)

Making the `es.queryable_built_in_roles_enabled` feature flag enabled by default.
This feature makes the built-in roles automatically indexed in `.security` index and available
for querying via Query Role API. The consequence of this is that `.security` index is now
created eagerly (if it's not existing) on cluster formation.

In order to keep the scope of this PR small, the feature is disabled for some of the tests,
because they are either non-trivial to adjust or the gain is not worthy the effort to do it now.
The tests will be adjusted in a follow-up PR and later the flag will be removed completely.

Relates to #117581

(cherry picked from commit 52e0f21bdd)

# Conflicts:
#	modules/dot-prefix-validation/build.gradle
#	test/framework/src/main/java/org/elasticsearch/test/InternalTestCluster.java
#	x-pack/plugin/security/src/internalClusterTest/java/org/elasticsearch/xpack/security/authc/esnative/ReservedRealmElasticAutoconfigIntegTests.java

* Update InternalTestCluster.java

remove line snuck after resolving merge confilcs

* Update build.gradle

fix build.gradle

* Update build.gradle

fix build.gradle by removing invalid task

* remove non-existing timeout parameter on 8.x branch
2025-01-27 23:40:15 +11:00
Henning Andersen
c5a623aca1
Mark read-only flush and verify (#119743) (#120522)
When marking read-only now flush and mark index as verified guaranteeing
that we can upgrade safely to next version with N-1 indices (becoming N-2).
Use this in the deprecation check.
2025-01-22 07:28:08 +11:00
Pete Gillin
c124f1b040
Skip HealthNodeUpgradeIT for some rolling upgrades (#119698)
* Skip HealthNodeUpgradeIT for some rolling upgrades

This skips part of the `HealthNodeUpgradeIT` test for the rolling
upgrade tests which use a cluster with a mix of 8.5.x and 8.6.x nodes,
which serve the health endpoint at `_internal/_health`, and 8.last
nodes, which serve it at `_health_report`. There is no sensible and
reliable way to test the endpoint in such clusters.

Closes #118157
Closes #118158
2025-01-08 14:49:37 +00:00
Carlos Delgado
7fc7f2aeb9
Skips synonym test in mixed cluster bwc tests instead of YAML rest compat (#119044) (#119663)
(cherry picked from commit cc0e53e883)
2025-01-07 16:53:24 +01:00
Mark Vieira
6e2152ddaa
[8.x] Use unsecure entropy source in docker packaging tests (#119598) (#119610) 2025-01-06 13:42:40 -08:00
Mark Vieira
fd572d021c
Print thread dump when ES fails to start during Docker packaging tests (#119477) (#119481)
(cherry picked from commit 577d102740)
2025-01-04 04:55:21 +11:00
Rene Groeschke
6b7cd0339e
Update Gradle wrapper to 8.12 (#118683) (#119363)
This updates the gradle wrapper to 8.12

We addressed deprecation warnings due to the update that includes:

- Fix change in TestOutputEvent api
- Fix deprecation in groovy syntax
- Use latest ospackage plugin containing our fix
- Remove project usages at execution time
- Fix deprecated project references in repository-old-versions

(cherry picked from commit ba61f8c7f7)
2024-12-31 08:36:31 +01:00
Rene Groeschke
d000f0fca9
[Build] Make test cluster plugin configuration cache compatible (#116890) (#119365)
This adds infrastructure to make the legacy test cluster plugin and
the legacy test cluster based test plugins generally configuration cache compatible.

(cherry picked from commit 8c20ac5884)

# Conflicts:
#	qa/mixed-cluster/build.gradle
2024-12-31 06:11:13 +11:00
Keith Massey
eb0b8d69c4
[8.x] Returning ignored fields in the simulate ingest API (#117214) (#119246) 2024-12-23 18:57:38 -06:00
Niels Bauman
2d05a81e72
Unmute FieldCapsIT.testAllIndicesWithIndexFilter (#119182) (#119235)
This was muted a while ago due to index template BwC issues. These were
addressed in #109166, so we should be able to unmute this test too.
2024-12-24 06:14:30 +11:00
Matteo Piergiovanni
22a9a90f04
Prevent data nodes from sending stack traces to coordinator when error_trace=false (#118266) (#118969)
* first iterations

* added tests

* Update docs/changelog/118266.yaml

* constant for error_trace and typos

* centralized putHeader

* moved threadContext to parent class

* uses NodeClient.threadpool

* updated async tests to retrieve final result

* moved test to avoid starting up a node

* added transport version to avoid sending useless bytes

* more async tests

(cherry picked from commit 97bc2919ff)

# Conflicts:
#	server/src/main/java/org/elasticsearch/rest/action/search/RestSearchAction.java
2024-12-19 03:18:57 +11:00
Johannes Fredén
68d38a6e1d
Fix intermittent FileSettingsRoleMappingUpgradeIT failures (#118455)
Fixes: https://github.com/elastic/elasticsearch/issues/118311
https://github.com/elastic/elasticsearch/issues/118310
https://github.com/elastic/elasticsearch/issues/118309

Same issue that was fixed in:
https://github.com/elastic/elasticsearch/pull/110963

`@BeforeClass` is executed after the test rules. This means it creates
the clusters for all the invalid versions, which sometimes doesnt work.

Change it to a rule which definitely evaluates before the clusters are
created. This will also speed up this test in CI.
2024-12-12 21:15:15 +11:00
Lorenzo Dematté
73689dc56e
[Entitlements] Moving and refactoring IT tests (#118254) (#118467) 2024-12-12 03:06:13 +11:00
Joe Gallo
59613766f9
Fix log message format bugs (#118354) (#118385) 2024-12-11 09:00:37 +11:00
Ryan Ernst
51f1bc0dc2
Wrap jackson exception on malformed json string (#114445) (#118098)
This commit hides the underlying Jackson parse exception when encountered while parsing string tokens.

Co-authored-by: Henrique Paes <henriquee.paes1@gmail.com>
2024-12-06 05:27:38 +11:00
Matteo Piergiovanni
fa7ac36f9c
[8.x] Only aggregations require at least one shard request (#115314) (#115794)
* Only aggregations require at least one shard request (#115314)

* unskipping shards only when aggs

* Update docs/changelog/115314.yaml

* fixed more tests

* null check for searchRequest.source()

(cherry picked from commit 7f573c6c28)

* applying #115774

* skipped test

* fixed test

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-12-05 10:32:26 +01:00
Lorenzo Dematté
d06927f7ab
[Entitlements] Add support for instrumenting constructors (#117332) (#117620) 2024-11-27 22:36:42 +11:00
Mikhail Berezovskiy
b582082786
backport http content copy removal #117303 (#117599) 2024-11-27 13:23:15 +11:00
Nhat Nguyen
bfdde9bc76
Deprecate source mode in mappings (#117177)
Backport of #116689 to 8.18
2024-11-25 15:16:29 -08:00
Rene Groeschke
617644f781
[8.x] [Gradle] Remove static use of BuildParams (#115122) (#117436)
* [Gradle] Remove static use of BuildParams (#115122)

Static fields dont do well in Gradle with configuration cache enabled.

- Use buildParams extension in build scripts
- Keep BuildParams.ci for now for easy serverless migration
-  Tweak testing doc

(cherry picked from commit 13c8aaeffa)

# Conflicts:
#	TESTING.asciidoc
#	build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestTestBasePlugin.java
#	build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/compat/compat/AbstractYamlRestCompatTestPlugin.java
#	build.gradle
#	modules/ingest-geoip/qa/full-cluster-restart/build.gradle
#	qa/mixed-cluster/build.gradle
#	x-pack/plugin/ent-search/qa/full-cluster-restart/build.gradle
#	x-pack/plugin/eql/qa/rest/build.gradle
#	x-pack/plugin/fleet/qa/rest/build.gradle
#	x-pack/plugin/kql/build.gradle
#	x-pack/plugin/mapper-unsigned-long/build.gradle
#	x-pack/plugin/ml/qa/multi-cluster-tests-with-security/build.gradle
#	x-pack/plugin/security/qa/multi-cluster/build.gradle
#	x-pack/plugin/sql/qa/jdbc/build.gradle
#	x-pack/plugin/transform/qa/multi-cluster-tests-with-security/build.gradle

* fix merge issue

* Fix more merge conflicts

* Fix merge conflicts

* Update TESTING.asciidoc
2024-11-25 18:28:51 +01:00
Mariusz Józala
d9de2e27c6
[ci] Add debian-12 to matrix in packaging and platform jobs (#116172) (#117315)
Lintian test has been changed to parse the result instead of using exit
code. This was required, because now `mismatched-override` is
non-erasable tag which cannot be ignored for exit code.
Lintian introduced non-backward-compatible format change for overrides
file. Because of that, some overrides are now duplicated in a format for
 older versions.
Additionally, Lintian overrides file has been cleaned up to remove the
tags which are no longer failing.
2024-11-22 21:07:31 +11:00
Martijn van Groningen
1bc60acdef
Revert "Deprecate _source.mode in mappings (#117106)" (#117151)
This reverts #117106. Bwc tests fail, because older nodes are killed with the following error:

```
[2024-11-20T10:54:58,600][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [v8.17.0-0] fatal error in thread [elasticsearch[v8.17.0-0
][clusterApplierService#updateTask][T#1]], exiting java.lang.AssertionError: provided source [{"_doc":{"_data_stream_timestamp":{"enabled":true},"_source":{},"properties":{"@timestamp":{"type":"date"},"k8s":{"properties":{"pod":{"properties":{"ip":{"type":"ip"},"name":{"type":"keyword"},"network":{"properties":{"rx":{"type":"long"},"tx":{"type":"long"}}},"uid":{"type":"keyword","time_series_dimension":true}}}}},"metricset":{"type":"keyword","time_series_dimension":true}}}}] differs from mapping [{"_doc":{"_data_stream_timestamp":{"enabled":true},"_source":{"mode":"synthetic"},"properties":{"@timestamp":{"type":"date"},"k8s":{"properties":{"pod":{"properties":{"ip":{"type":"ip"},"name":{"type":"keyword"},"network":{"properties":{"rx":{"type":"long"},"tx":{"type":"long"}}},"uid":{"type":"keyword","time_series_dimension":true}}}}},"metricset":{"type":"keyword","time_series_dimension":true}}}}]
        at org.elasticsearch.server@9.0.0-SNAPSHOT/org.elasticsearch.index.mapper.DocumentMapper.<init>(DocumentMapper.java:66)
        at org.elasticsearch.server@9.0.0-SNAPSHOT/org.elasticsearch.index.mapper.MapperService.newDocumentMapper(MapperService.java:588)
        at org.elasticsearch.server@9.0.0-SNAPSHOT/org.elasticsearch.index.mapper.MapperService.updateMapping(MapperService.java:346)
        at org.elasticsearch.server@9.0.0-SNAPSHOT/org.elasticsearch.index.IndexService.updateMapping(IndexService.java:840)
        at org.elasticsearch.server@9.0.0-SNAPSHOT/org.elasticsearch.indices.cluster.IndicesClusterStateService.createIndicesAndUpdateShards(IndicesClusterStateService.java:583)
        at org.elasticsearch.server@9.0.0-SNAPSHOT/org.elasticsearch.indices.cluster.IndicesClusterStateService.doApplyClusterState(IndicesClusterStateService.java:306)
        at org.elasticsearch.server@9.0.0-SNAPSHOT/org.elasticsearch.indices.cluster.IndicesClusterStateService.applyClusterState(IndicesClusterStateService.java:260)
        at org.elasticsearch.server@9.0.0-SNAPSHOT/org.elasticsearch.cluster.service.ClusterApplierService.callClusterStateAppliers(ClusterApplierService.java:544)
        at org.elasticsearch.server@9.0.0-SNAPSHOT/org.elasticsearch.cluster.service.ClusterApplierService.callClusterStateAppliers(ClusterApplierService.java:530)
        at org.elasticsearch.server@9.0.0-SNAPSHOT/org.elasticsearch.cluster.service.ClusterApplierService.applyChanges(ClusterApplierService.java:503)
        at org.elasticsearch.server@9.0.0-SNAPSHOT/org.elasticsearch.cluster.service.ClusterApplierService.runTask(ClusterApplierService.java:432)
        at org.elasticsearch.server@9.0.0-SNAPSHOT/org.elasticsearch.cluster.service.ClusterApplierService$UpdateTask.run(ClusterApplierService.java:157)
        at org.elasticsearch.server@9.0.0-SNAPSHOT/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:956)
        at org.elasticsearch.server@9.0.0-SNAPSHOT/org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:218)
        at org.elasticsearch.server@9.0.0-SNAPSHOT/org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:184)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
        at java.base/java.lang.Thread.run(Thread.java:1575)
```

The `mode` parameter no longer gets serialized for new indices. However on the older nodes still serialize the `mode` parameter, which caused the menioned assertion to fail. Reverting for now and see how best to address this bwc serialization issue.

We can only stop serializing mode, when all nodes are on the same version.  Unfortunately we can't invoke `c.clusterTransportVersion().get()` from parser or builder, because that calling thread isn't allowed to call `clusterService.state()`.
2024-11-20 13:39:07 +01:00
Nhat Nguyen
e63367eaec
Deprecate _source.mode in mappings (#116689) (#117106)
This change deprecates _source.mode in mappings, replacing it with the
index.mapping.source.mode index setting.
2024-11-20 17:51:22 +11:00
Mark Vieira
08705d79d4
Simplify entitlement agent REST tests (#116779) (#116822) 2024-11-15 03:09:57 +11:00
Simon Cooper
2811a76718
[8.x] Make snapshot restore release version check more lenient (#116727) (#116802)
* Make snapshot restore release version check more lenient (#116727)

* Fix stray change
2024-11-14 23:01:09 +11:00
Lorenzo Dematté
cb4485e168
[Entitlements] External IT test for checkSystemExit (#116435) (#116705) 2024-11-13 20:41:48 +11:00
Lorenzo Dematté
d698e72af3
[8.x] Add a cluster listener to fix missing system index mappings after upgrade (#115771)
This PR modifies `TransportVersionsFixupListener` to include all of
compatibility versions (not only TransportVersion) in the fixup.

`TransportVersionsFixupListener` spots the instances when the master has
been upgraded to the most recent code version, along with non-master
nodes, but some nodes are missing a "proper" (non-inferred) Transport
version. This PR adds another check to also ensure that we have real
(non-empty) system index mapping versions.

To do so, it modifies NodeInfo so it carries all of
CompatibilityVersions (TransportVersion +
SystemIndexDescriptor.MappingVersions).

This was initially done via a separate fixup listener + ad-hoc transport
action, but the 2 listeners "raced" to update ClusterState on the same
CompatibilityVersions structure; it just made sense to do it at the same
time.

The fixup is very similar to
https://github.com/elastic/elasticsearch/pull/110710, which does the
same for cluster features; plus, it adds a CI test to cover the bug
raised in https://github.com/elastic/elasticsearch/issues/112694

Closes https://github.com/elastic/elasticsearch/issues/112694
2024-11-12 05:45:10 +11:00
Mariusz Józala
11fa0520b1
[8.x] [TEST] Migrated REST tests extending JsonLogsIntegTestCase (#115188) (#116025)
* [TEST] Migrated REST tests extending JsonLogsIntegTestCase (#115188)

REST tests extending JsonLogsIntegTestCase migrated to the new REST
testing framework, using 'elasticsearch.internal-java-rest-test' Gradle
plugin
Explicit handling of test single-cluster config by checking if cluster
is explicitly configured as single-node to avoid an incorrect configuration
which may cause split brain.

Replaced `ElasticsearchJavaPlugin` with `ElasticsearchJavaBasePlugin` in
 `RestTestBasePlugin` for better granularity.
Additionally, updated the `DistributionDownloadPlugin` to set configurations as
non-consumable and the `InternalDistributionArchiveSetupPlugin` to mark
certain configurations as consumable. This ensures that configurations
are correctly utilized during build setup and execution phases.

(cherry picked from commit 130cc74d8a)

* Fixed DefaultSettingsProvider to use Java 17 (#116029)

It is needed to be able to backport the change to the 8.x.
Having same code for both versions can help us to avoid some merge
conflicts in the future.
2024-11-04 20:59:59 +11:00
Martijn van Groningen
43aa301688
[8.x] Add more tsdb and logsdb rolling upgrade indexing tests. (#115760)
Backport #115639 to 8.x branch.

The main difference between other rolling upgrade tests is that these tests index more data while performing the rolling upgrade and no rollover is performed during rolling upgrade. For example this makes it more likely for merging to happen, which could uncover bwc bugs.

Note that currently both test suites start trial license so that synthetic source gets used.
2024-10-31 09:08:36 +01:00