Commit graph

61144 commits

Author SHA1 Message Date
elasticsearchmachine
fba27de386 Prune changelogs after 7.17.19 release 2024-03-26 20:01:58 +00:00
elasticsearchmachine
af2c523cdf Bump versions after 7.17.19 release 2024-03-26 20:00:24 +00:00
elasticsearchmachine
3a15457f74 Finalize release notes for v7.17.19 2024-03-26 12:59:03 -04:00
elasticsearchmachine
09576c46a4
Update docs for v7.17.19 release (#106781) 2024-03-26 09:58:31 -07:00
Rene Groeschke
eb0e1ad3e2
Update Gradle wrapper to 8.7 (#105854) (#106722)
removed tiny issue on build script that seems like an oversight and doesn't do anything at all

(cherry picked from commit c15f727f2d)

# Conflicts:
#	x-pack/plugin/ent-search/build.gradle
2024-03-26 08:33:29 +01:00
Mark Vieira
af40285c68
Fix 'functionalTests' task 2024-03-25 08:57:54 -07:00
David Turner
009950dae5
Fix testScheduledFixedDelayRejection (#106630) (#106643)
Not really necessary to allow the scheduled task to race against the
blocks, and this race is a source of test flakiness. Fixed by imposing
the blocks first.

Closes #106618
2024-03-22 04:47:15 -04:00
David Turner
d74e9f8070 AwaitsFix for #106618 2024-03-21 16:44:38 +00:00
David Turner
92f290e953
Relax cleanup check in SnapshotStressTestsIT (#106569)
We can't assert no leaked blobs here because today the first cleanup
leaves the original `RepositoryData` in place so the second cleanup is
not a no-op.

Relates #100718
Backport of #100855 to 7.17
2024-03-20 13:08:42 -04:00
David Turner
ff776e42c6
Force execution of SearchService.Reaper (#106555)
If the search threadpool fills up then we may reject execution of
`SearchService.Reaper` which means it stops retrying. We must instead
force its execution so that it keeps on going.

With #106542, closes #106543
Backport of #106544 to 7.17
2024-03-20 11:34:45 -04:00
David Turner
a86aacd35f
Integrate threadpool scheduling with AbstractRunnable (#106552)
Today `ThreadPool#scheduleWithFixedDelay` does not interact as expected
with `AbstractRunnable`: if the task fails or is rejected then this
isn't passed back to the relevant callback, and the task cannot specify
that it should be force-executed. This commit fixes that.

Backport of #106542 to 7.17
2024-03-20 11:08:24 -04:00
Slobodan Adamović
59f0e6f091
[Test] Fix SslMultiPortTests by increasing the number of ephemeral ports on windows (#106540)
This PR increases client's port ranges for tests which are executed on
Windows in order to avoid failures due to some port ranges being
excluded from use. The larger ports range (300) is chosen based on the
observation where a random consecutive range of 200 ports can be
excluded on Windows test workers.

Relates to https://github.com/elastic/elasticsearch/pull/103894, which
fixed similar issues but this one seems to have been missed.

Resolves: https://github.com/elastic/elasticsearch/issues/106537
2024-03-20 08:28:03 -04:00
Mark Vieira
b0cd02b712
[7.17] Update bundled JDK to Java 22 (#106482) (#106509)
* Update bundled JDK to Java 22 (#106482)

# Conflicts:
#	build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/toolchain/AdoptiumJdkToolchainResolver.java
#	build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/toolchain/OracleOpenJdkToolchainResolver.java
#	build-tools-internal/src/test/groovy/org/elasticsearch/gradle/internal/toolchain/AdoptiumJdkToolchainResolverSpec.groovy
#	gradle/verification-metadata.xml

* Revert toolchain resolver changes
2024-03-19 16:29:57 -04:00
Niels Bauman
1175fc6cc8
Fix default search timeout in watcher docs (#106404) (#106504) 2024-03-19 15:07:03 -04:00
Keith Massey
c53745e8cc
Upgrading mime4j on the 7.17 line (#106380) 2024-03-18 09:44:30 -05:00
Benjamin Trent
ee99b6c2e9
Update to latest Lucene bugfix version 8.11.3 (#106365) 2024-03-18 07:19:07 -04:00
Brian Seeders
6f2d188208
[ci] Refactor BWC templating in Buildkite pipelines to handle more scenarios (#106084) (#106098)
(cherry picked from commit 6f8280c12a)
2024-03-14 16:46:11 -04:00
Youhei Sakurai
057843e7d6
[7.17] Handling exceptions on watcher reload (#105442) (#106209) 2024-03-13 15:54:38 -05:00
Nicole Albee
2e97844a79
Clarify filters can be used while creating a normalizer. (#103826) (#106234) 2024-03-12 09:43:02 -04:00
Mark Vieira
5ccbad10f8
Remove invalid javadoc reference (#106139)
Removes invalid javadoc reference.
2024-03-08 15:07:29 -05:00
Jake Landis
334d7f5026
OIDC doc - mention client secret needs a restart (#106088) (#106090) 2024-03-07 16:21:14 -05:00
Ryan Ernst
226ee288e2
Adjust terminal tests to new behavior in JDK 22. (#103614) (#106051)
JDK 22 may return a console even if the terminal is redirected. These cases are detected using the new Console#isTerminal() to maintain the current behavior (closes #98033).

Co-authored-by: Moritz Mack <mmack@apache.org>
2024-03-06 19:29:27 -05:00
Moritz Mack
63eeed8374
Fix random timezone id selection to be consistent with DateUtilsTests.testTimezoneIds (#105989) 2024-03-06 07:35:15 +01:00
Moritz Mack
8e0539586a
Ignore America/Pangnirtung and Pacific/Kanton in timezone tests (#105976) 2024-03-05 17:29:55 +01:00
Benjamin Trent
e3b4c0cee0
Add note about optional times and epochs (#105786) (#105972) 2024-03-05 09:08:33 -05:00
Rene Groeschke
03dc8edaf2
[7.17] Allow resolving runtime java via Gradle tool chain provider (#105916)
* [7.17] Resolve runtime java via Gradle tool chain provider #95319
* Cleanup VersionPropertiesPlugin
2024-03-05 11:17:44 +01:00
Rene Groeschke
457296f31f
Fix :plugins:repository-hdfs:forbiddenApisJavaRestTest (#102983) (#105921)
Reworking forbiddenApis check to use gradle worker api exposed a bug in
how we resolve krb5kdc keytab information. This fixes the depenendency to krb5kdc keytab configuration and
its builtBy task.

This also changes the usage of krb5kdc keytab files to be passed directly to task classpath as
they are only required at runtime and directly having them as part of javaRestTestRuntimeOnly would mean precommit
requires krb5kdc compose up which we definitely not want

(cherry picked from commit ab0bb4889a)
2024-03-05 11:16:20 +01:00
Moritz Mack
43606189fa
Ignore Europe/Kyiv in timezone tests (#105862)
Closes #105841
2024-03-04 20:58:48 +01:00
Jonathan Buttner
b8d715a00f
Test mute for #105841 (#105925)
Muting test for https://github.com/elastic/elasticsearch/issues/105841
2024-03-04 12:40:40 -05:00
Mark Vieira
1ad813db87
Re-enable Java 22 periodic testing 2024-02-29 16:49:35 +01:00
Ryan Ernst
f569a472a2
Ignore America/Ciudad_Juarez in timezone tests (#105815) 2024-02-27 12:06:15 +01:00
Simon Cooper
67725a429e
Upgrade joda time to 2.12.6 (#104720) 2024-02-23 10:30:50 +00:00
David Roberts
edea203e7c
[ML] Detect 8.x ML nodes correctly (#105653)
It's possible that a 7.17 master node needs to assign ML jobs
to 8.x ML nodes. Currently this does not work, as the 7.x mechanism
for detecting ML nodes does not work with 8.x ML nodes. Currently
a 7.17 master node will not assign jobs to 8.x ML nodes, so the
jobs sit in limbo until the master node is upgraded to 8.x, and
then they get assigned and pick up where they left off.

This change allows the 7.17 master node to correctly identify 8.x
ML nodes in the cluster, allowing the ML jobs to be reassigned
more quickly during a rolling upgrade from 7.17 to 8.x where
master nodes are upgraded last (as recommended).
2024-02-20 13:42:46 +00:00
Artem Prigoda
85259a1a6d
Mute ConcurrentSnapshotsIT#testDeleteIndexWithOutOfOrderFinalization (#105644) 2024-02-20 12:14:35 +01:00
Brian Seeders
2ccd7bf00e
Renew samba fixture expired test certificates (#105561) (#105568)
(cherry picked from commit 15877f5593)
2024-02-15 10:43:53 -05:00
Keith Massey
874a1dc991
Limiting the number of nested pipelines that can be executed (#105428) (#105533)
Limiting the number of nested pipelines that can be executed within a single pipeline to 100
2024-02-15 07:50:27 -06:00
Keith Massey
7273e0243d
Adding executedPipelines to the IngestDocument copy constructor (#105427) (#105527) 2024-02-14 16:38:17 -06:00
Keith Massey
4d09f96f10
Improving the performance of the ingest simulate verbose API (#105265) (#105513)
This updates the simulate verbose API to run in O(N) (for number of pipelines)
time and memory like the simulate and ingest APIs rather than O(N^2).
2024-02-14 13:46:29 -06:00
Keith Massey
9b6cf272b6
Adding a custom exception for problems with the graph of pipelines to be applied to a document (#105196) (#105473)
This PR removes the need to parse the exception message to detect if a cycle has been detected
in the ingest pipelines to be run on a document.
2024-02-14 10:46:02 -06:00
Keith Massey
d57de7d01f
Adding some tests for many nested pipeline processors (#105291) (#105471) 2024-02-14 10:43:04 -06:00
Mark Vieira
d1117aeb3e
Update Gradle wrapper to 8.6 (#103796) (#105466)
Co-authored-by: Rene Groeschke <rene@elastic.co>
2024-02-13 15:14:48 -05:00
Mark Vieira
69f77309f5
Update Gradle Enterprise plugin to 3.16.1 (#104435) (#105463)
# Conflicts:
#	gradle/build.versions.toml
#	settings.gradle
2024-02-13 12:48:02 -05:00
Lee Hinman
3318445a80
Clarify update operations may be performed on a data stream's backing indices (#105408) (#105413)
These statements come off a little too strongly towards "don't use data streams if you *ever* have updates", but they do support updates when necessary, as long as the backing indices are used.

(cherry picked from commit d95d6adae5)
2024-02-12 13:21:53 -05:00
David Turner
ce7d540206
Fix testTargetThrottling (#105286)
Backports #103397 to 7.17

Closes #104693
2024-02-08 09:13:25 -05:00
elasticsearchmachine
fa0f970d57 Finalize release notes for v7.17.18 2024-02-06 14:35:22 -05:00
elasticsearchmachine
5db444b391 Prune changelogs after 7.17.18 release 2024-02-06 17:49:28 +00:00
elasticsearchmachine
23f055a3f0 Bump versions after 7.17.18 release 2024-02-06 17:48:38 +00:00
elasticsearchmachine
491d805996
Update docs for v7.17.18 release (#105160) 2024-02-06 08:26:19 +01:00
Brian Seeders
839451ce83
[ci] Allow CI to be triggered by old elasticmachine-style comment (#105154) (#105158)
(cherry picked from commit 37b57a411b)
2024-02-05 16:23:07 -05:00
Przemyslaw Gomulka
8682172c21
Update build tools changelog schema for new Core/Infra/Metrics label (#105016) (#105032)
a new Core/Infra/Metrics label has been added, this commit updates the schema
2024-02-01 14:10:57 -05:00