Commit graph

61144 commits

Author SHA1 Message Date
elasticsearchmachine
38e9ca2e81 Mute org.elasticsearch.transport.netty4.Netty4TransportMultiPortIntegrationIT org.elasticsearch.transport.netty4.Netty4TransportMultiPortIntegrationIT #109400 2024-06-06 02:10:18 +10:00
Nhat Nguyen
5e2fac3da5
Add remove index setting command (#109276) (#109328)
The new subcommand elasticsearch-node remove-index-settings can be used
to remove index settings from the cluster state in case where it
contains incompatible index settings that prevent the cluster from
forming. This tool can cause data loss and its use should be your last
resort.

Relates #96075
2024-06-05 02:07:22 +10:00
Jake Landis
692a1a2448
Revert "[7.17] Backport DLS changes (#108330)" (#109349)
This reverts commit 4e08df5 (#108330)
This commit also fixes #109273 in 7.17.
2024-06-04 10:20:58 -05:00
Martijn van Groningen
5d80ef6565
Added known issue section for the index.mapper.dynamic index setting bug. (#109292)
Relates to #109160 and #96075
2024-06-04 18:59:44 +10:00
Martijn van Groningen
da4cec7cb0
Add rolling upgrade test for the index.mapper.dynamic index setting bug. (#109301)
This is for 7.17 branch only. The test in main branch would be a little bit different.


Relates to #109160 and #96075
2024-06-04 09:36:21 +02:00
Jake Landis
4e08df5bda
[7.17] Backport DLS changes (#108330)
This commit introduced stricter DLS rules and is a manual backport of #105709 and #105714 
with additional node level settings to optionally disable the stricter DLS rules. 
Since these settings are not present in 8.x the needed deprecation info API entries have also 
been added to help inform any users that may have set these values to remove them before upgrading.
2024-06-03 10:58:38 -05:00
Max Hniebergall
7fe654b539 AwaitsFix: https://github.com/elastic/elasticsearch/issues/109299 2024-06-03 09:58:52 -04:00
elasticsearchmachine
e2ee2a0dd7
Update docs for v7.17.22 release (#109186) 2024-05-29 14:43:43 -07:00
Ryan Ernst
7ebb32db10
Guard bootstrap plugins loading from detecting plugins cache (#109116)
This commit guards iteration over plugin infos from mistakenly trying to
inspect the plugins cache file as a plugin.

closes #97702
2024-05-29 10:16:44 -07:00
Martijn van Groningen
e4ef0ff0d9
Disable index.mapper.dynamic index setting validation. (#109160)
This setting was removed via #25734, because the setting no longer used
since 6.0.0

However, the validation only kicked when trying to set this setting on a
closed index. Applying the setting on an open index would just work.
With severe consequences later on. For example when upgrading the
cluster, nodes would refuse to boot, because the validation would kick
in.

Relates to #96075
2024-05-29 09:42:28 -04:00
Ryan Ernst
6f20cba5a1
Update bundled JDK to Java 22 (again) (#108654) (#108689)
* Update bundled JDK to Java 22 (again) (#108654)

This commit re-bumps the bundled JDK to Java 22 now that we have
a tested workaround for the G1GC bug
(https://bugs.openjdk.org/browse/JDK-8329528).

relates #108571
relates #106987

* copy main openjdk toolchain resolver

* use 2 lines for workaround

* fix test

* update adoptium test
2024-05-16 10:18:18 -04:00
Simon Cooper
ad03ad6caf
[7.17] Increase interval for task change interval check to prevent stalls failing the test (#94145) (#108667)
Backport #94145 to 7.17
2024-05-15 10:49:55 +01:00
Ryan Ernst
101bebe071
Workaround G1 bug for JDK 22 and 22.0.1 (#108571) (#108631)
See https://bugs.openjdk.org/browse/JDK-8329528. The applied workaround
was suggested on the linked issue, and was tested and confirmed to avoid
the G1 bug.
2024-05-14 12:48:48 -04:00
Albert Zaharovits
b6dad2b7ff
2 @Before methods, not a good idea (#108502)
Fixes IpFilterRemoteAddressFilterTests testThatFilteringWorksByIp. There
were 2 "@ Before"-annotated methods that didn't play well together.

Fixes: #108441
2024-05-13 06:01:22 -04:00
Mark Vieira
572ce11c1b
AwaitsFix #108441 2024-05-09 16:54:27 -07:00
Nick Tindall
2a327b1125
[DOCS] Fix stored_fields parameter description (#98385) (#108445) (#108447)
(referenced from get and multi_get API docs)

Closes #98385
2024-05-09 03:43:07 -04:00
Athena Brown
853958388f AwaitsFix: https://github.com/elastic/elasticsearch/issues/108441 2024-05-08 15:48:30 -06:00
Athena Brown
ad9470b31a
Add note about license to "Restore an Entire Cluster" docs (#87485) (#108437)
One user reached out mentioning that it would be a good idea to remind
users to re-upload the license after full cluster recovery from snapshot
as one can easily miss this when trying to figure out why some features
aren't working after the restore.

(cherry picked from commit 295fba33d8)

Co-authored-by: Rafi Estrada <62263912+TheRiffRafi@users.noreply.github.com>
2024-05-08 17:23:38 -04:00
Athena Brown
766ba1c6c8
[7.17] Align all usages of protobuf to be 3.21.9 (#95431)
Updating repository-hdfs, repository-gcs, and vector-tile to all use the same more recent protobuf.

Co-authored-by: Keith Massey <keith.massey@elastic.co>
2024-05-08 14:59:53 -06:00
Albert Zaharovits
9df8e28464
[7.17] Fix lingering license warning header (#108408)
* Backport done

* Get port range

* Fix code license
2024-05-08 09:12:19 -04:00
Artem Prigoda
60429422b2
[7.17] Fix Netty4TransportMultiPortIntegrationIT#testThatTransportClientCanConnect (#108112)
#103894 increased the range of available client ports on Windows for a node, but didn't update the range of ports that the transport client test iterates through in trying to connect to the node.

Both test failures reported in #107757 happened on Windows machines.

See #103894

Resolves #107757
2024-05-07 15:51:16 +02:00
Jake Landis
847404300f
upgrade bouncy castle (non-fips) to 1.78.1 (#108223) (#108274) 2024-05-03 18:40:35 -04:00
elasticsearchmachine
1fdf12b93a Finalize release notes for v7.17.21 2024-05-03 12:17:24 -04:00
elasticsearchmachine
aa7635aed6 Prune changelogs after 7.17.21 release 2024-05-03 15:42:01 +00:00
elasticsearchmachine
371e4f8a78 Bump versions after 7.17.21 release 2024-05-03 15:39:48 +00:00
Brian Seeders
805a7087d1
[ci] Add elastic-agent to Windows jobs (#108157) (#108199)
(cherry picked from commit 164bac0654)
2024-05-02 10:38:47 -04:00
elasticsearchmachine
36522d55db
Update docs for v7.17.21 release (#108029) 2024-05-02 06:47:00 -07:00
Brian Seeders
47f661628b
[ci] Move BWC to spot instances, shrink packaging-test-unix instances (#108111) (#108153) 2024-05-01 16:28:54 -04:00
Simon Cooper
91f217c9f0
Backport #107481 to 7.17 (#108003)
Block specific config files from being accessed after startup (#107481)

Some files should never be accessed by ES or plugin code once startup has completed. Use the security manager to block these files from being accessed by anything at all. The current blocked files are elasticsearch.yml, jvm.options, and the jvm.options.d directory.
2024-04-30 15:02:35 +01:00
Benjamin Trent
b1da2e3fed
Adding docs about scaled_float saturation with long values (#107966) (#108087)
(cherry picked from commit 67748cf616)
2024-04-30 09:59:32 -04:00
Brian Seeders
1567c79b07
[7.17] Fix hostname issues in Amazon Linux 2 (#107907) 2024-04-29 15:25:22 -04:00
Mark Vieira
c24f611466
Move muted tests file and allow for additional files to be configured (#107916) (#108035)
Some refactoring to the muted tests plugin to better support usage in a
composite build configuration.
# Conflicts:
#	build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/MutedTestPlugin.java
#	build-tools/src/testFixtures/groovy/org/elasticsearch/gradle/fixtures/AbstractGradleFuncTest.groovy
2024-04-29 14:16:57 -04:00
Brian Seeders
d38e4b028f
[ci] Shrink platform-support Windows instances (#107912) (#107927)
(cherry picked from commit ed81cb59f8)
2024-04-25 16:58:45 -04:00
Mark Vieira
4d8dfb8437
Reintroduce Java 22 testing to the matrix 2024-04-23 08:03:30 -07:00
Brian Seeders
52fb2dbb68
[ci] Add Buildkite metrics/logs links to buildscans (#107719) (#107728)
(cherry picked from commit 1100689b50)
2024-04-22 17:38:03 -04:00
Bogdan Pintea
99a68a8b58
SQL: Fix JdbcPreparedStatementIT.testDatetimeWithNanos (#107629) (#107687)
Fixes #105677
2024-04-22 08:02:03 -04:00
Mark Vieira
9b58752f62
[7.17] Muted test automation (#106784) (#107638)
* Muted test automation (#106784)

# Conflicts:
#	build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchJavaBasePlugin.java
#	build-tools/src/testFixtures/groovy/org/elasticsearch/gradle/fixtures/AbstractGradleFuncTest.groovy

* Spotless

---------

Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2024-04-18 15:02:15 -04:00
Bogdan Pintea
b65a3d00ff
SQL: Limit how much space some string functions can use (#107333) (#107632)
* SQL: Limit how much space some string functions can use (#107333)

This will check and fail if certain functions would generate a result
exceeding a certain fixed byte size.

This prevents an operation/query to fail the entire VM.

(cherry picked from commit f1bcb338ec)

* Fix use of forbidden APIs

* Style
2024-04-18 14:27:37 -04:00
nervo
2154d32bce
Remove smart quote in distribution config (#107246) 2024-04-18 09:51:31 -07:00
Brian Seeders
91f94786b8
[7.17.20] Update release notes with missing JDK downgrade PR 2024-04-10 22:42:14 -04:00
Brian Seeders
1f53c9208b
Bump versions after 7.17.20 release 2024-04-10 11:54:50 -04:00
István Zoltán Szabó
c1cea7b4e7
[7.17] [DOCS] Expands the list of possible values of the result parameter of the bulk API. (#107265) (#107278)
* [DOCS] Expands the list of possible values of the result parameter of the bulk API. (#107265)

(cherry picked from commit c50fcb95ed)

* Apply suggestions from code review
2024-04-09 18:02:11 +02:00
elasticsearchmachine
9ac6e4f0f4 Finalize release notes for v7.17.20 2024-04-08 11:09:36 -04:00
elasticsearchmachine
2bcdecd0e5
Update docs for v7.17.20 release (#107171) 2024-04-08 11:07:55 -04:00
Moritz Mack
b26557f585
Update 7.17.19 known issues with JDK 22 bug / recommendation to downgrade (#107165) 2024-04-05 19:15:40 +02:00
Chris Hegarty
ed09ff580e
[7.17.20] Downgrade the bundled JDK to JDK 21.0.2 (#107142)
This commit downgrades the bundled JDK to JDK 21.0.2.
2024-04-05 15:31:43 +01:00
Rene Groeschke
8ce680ff4a
Mute SamlAuthenticationIT on 7.17 branch (#106993) 2024-04-02 14:51:40 +02:00
Mark Vieira
7242b41332
Remove redundant testing of Java 22 (#106943)
(cherry picked from commit af8de04156)
2024-04-01 08:30:52 -07:00
Mark Vieira
0486bbfb96
Update verifyVersion task after #106143
(cherry picked from commit 392a7599c1)
2024-03-27 15:37:40 -07:00
Mark Vieira
666e8f1c6f
Reduce BWC testing to include only latest patch releases (#106143)
This commit alters our backward compatibility testing logic to restrict
testing to the latest patch release for any given minor version. Since
our policy is not to do any kind of breaking changes in patches, most of
this testing is superfluous. This change reduces the number of versions
we need to test by over 70%.

(cherry picked from commit b1e4407c0a)
2024-03-27 15:37:36 -07:00