Commit graph

61175 commits

Author SHA1 Message Date
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
Joe Gallo
c845bcda3c
[7.17] Ingest correctly handle upsert operations and drop processors together ( #104585) (#104887) 2024-01-30 12:24:09 -05:00
David Turner
10ca010c44 Allocation awareness allocates some replicas (#104800)
The docs for forced awareness indicate that no replicas will be assigned
until all zones are available, which is definitely undesirable and also
not the actual behaviour. This commit fixes the wording to match what
really happens.

Closes #104777
2024-01-29 08:19:04 +00:00
Joe Gallo
378c22a682
Better handling of async processor failures (#104289) (#104768) 2024-01-25 11:56:43 -05:00
Rene Groeschke
0b6cd20470
Fix dependency check for ignored licenses (#104736) (#104743)
if there are no dependencies declared and the license file is marked as
ignored, no exception should be thrown and dependencylicense check
should pass.

Fixes issues we identified in #104628
2024-01-25 06:37:29 -05:00
Simon Cooper
76be62ad6f
Ignore Antarctica/Vostok timezone differences (#104610)
Antarctica/Vostok, it has been updated by tzdata 2023d, which leads to different timezone offsets between joda and the jdk
2024-01-25 09:40:58 +00:00
Mark Vieira
c0277f89ec
Remove dependency on beats 2024-01-24 07:57:52 -08:00
Simon Cooper
a307e81bd7
Ensure there's only one newline added with new version declarations (#104519) (#104689)
Backport #104519 to 7.17
2024-01-24 12:11:17 +00:00
Iraklis Psaroudakis
06bb0bdc8c
Mute testTimezoneIds (#104691)
Relates #104544
2024-01-24 06:31:33 -05:00
Brian Seeders
c1a724f4ff
Remove 7.17.17 coming soon section 2024-01-23 12:38:57 -05:00
Brian Seeders
d761c158da
Prune changelogs after 7.17.17 release 2024-01-23 12:32:47 -05:00
Brian Seeders
23bb7612ca
Bump versions after 7.17.17 release 2024-01-23 12:32:08 -05:00
Brian Seeders
b41b0e8270
Add release notes for 7.17.17 (#104632) 2024-01-22 18:00:17 -05:00
Jake Landis
6e0679d6d1
[7x] upgrade aws client depdencies (#104346)
This commit bumps the aws client dependencies from from 1.11.749 to
1.12.270.  This aligns the versions used in 7.17.x with main. 

(partial) backport of
https://github.com/elastic/elasticsearch/pull/88932
2024-01-22 10:52:12 -05:00
Simon Cooper
4ba1572dc5
Create extract/tag versions gradle task for 7.17 (#104532)
Create a gradle task to extract version information for the new build release tag build infrastructure.
This also defines a dummy tagVersions task that is implemented on v8 but doesn't have anything to do on 7.17.
2024-01-22 11:25:05 +00:00
David Turner
6481e8a763
Fix deleting index during snapshot finalization (#104380)
* Fix deleting index during snapshot finalization

Today if an index is deleted during a very specific order of snapshot
finalizations then it's possible we'll miscalculate the latest shard
generations for the shards in that index, causing the deletion of a
shard-level `index-UUID` blob which prevents further snapshots of that
shard.

Backports #103817 to 7.17
Closes #101029

* Test fixup
2024-01-18 05:38:18 -05:00
Mark Vieira
aba4da413a
[7.17] Upgrade bundled JDK to 21.0.2 (#104481) (#104486)
* Upgrade bundled JDK to 21.0.2 (#104481)

# Conflicts:
#	gradle/verification-metadata.xml

* Update verification metadata
2024-01-17 15:44:50 -05:00
Chris Hegarty
af3f8e5d67
[7.17] Update ExecutorScalingQueue to workaround LinkedTransferQueue JDK bug (#104347) (#104425)
* Update ExecutorScalingQueue to workaround LinkedTransferQueue JDK bug (#104347)

This commit adds a few overrides to ExecutorScalingQueue (subclass of LinkedTransferQueue) to workaround a JDK bug in LinkedTransferQueue.

* remove usage of var

* fix compilation
2024-01-17 06:24:04 -05:00
David Turner
b6114f4c82
Fix snapshot version in createSnapshotLegacy (#104354)
We shouldn't use `Version#CURRENT` for the snapshot version anywhere,
but especially not on the legacy path.

Closes #86889
2024-01-15 09:16:41 +00:00
Brian Seeders
0ad0ddd479
[ci] Add Amazon Linux 2 to platform support pipeline (#104229) (#104286)
(cherry picked from commit a354b45613)
2024-01-12 11:40:58 -05:00