Commit graph

11400 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
36522d55db
Update docs for v7.17.21 release (#108029) 2024-05-02 06:47:00 -07: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
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
Brian Seeders
91f94786b8
[7.17.20] Update release notes with missing JDK downgrade PR 2024-04-10 22:42:14 -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
elasticsearchmachine
fba27de386 Prune changelogs after 7.17.19 release 2024-03-26 20:01:58 +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
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
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
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
Benjamin Trent
e3b4c0cee0
Add note about optional times and epochs (#105786) (#105972) 2024-03-05 09:08:33 -05: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
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
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
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
491d805996
Update docs for v7.17.18 release (#105160) 2024-02-06 08:26:19 +01: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
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
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
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