Commit graph

1038 commits

Author SHA1 Message Date
Francisco Fernández Castaño
bd02f91a58
[7.x] Deprecate Auto-Follow system indices (#73237)
This commits deprecates Auto-Follow of system indices

Relates #72815
2021-06-29 15:18:01 +02:00
James Rodewig
3dc091176e
[DOCS] Deprecate geo_bounding_box query's type param (#74008) (#74009)
The `geo_bounding_box` query's `type` parameter is currently ignored and has no
effect on the query. This documents the deprecation of the parameter in 7.14.0.
The parameter will be removed in 8.0.0.

Relates to #70561. Backport of #74008.
2021-06-24 11:14:48 -04:00
Yang Wang
59a64a07a7
Deprecate realm names with a leading underscore (#73366) (#73319)
Deprecation warning is now issued if any realm is configured with a name
prefixed with an underscore. This applies to all realms regardless
whether they are enabled or not.

Relates: #73250
2021-06-15 22:23:05 +10:00
Henning Andersen
3e59bc0680
Deprecations for single data node setting (#73733)
In #55805, we added a setting to allow single data node clusters to
respect the high watermark. This commit adds deprecation warnings to 7.x
to ensure we can make only true valid in 8.0.

Co-authored-by: David Turner <david.turner@elastic.co>
2021-06-07 13:10:31 +02:00
Tim Vernum
d19c365a1e
[Backport] [DOCS] Add notes on SSL version by JDK version (#73744)
Recent JDK releases have disabled TLS v1.0 and TLS v1.1 by default

See
 - https://java.com/en/jre-jdk-cryptoroadmap.html
 - https://bugs.openjdk.java.net/browse/JDK-8202343

This change adds documentation clarifying which TLS versions are
supported on which JDKs (in general terms, rather than specific builds)
and how to change the configuration if necessary.

Also, adds a note to the migration guide for 7.12 and 7.13.

Backport of: #73401
2021-06-04 16:52:13 +10:00
Przemyslaw Gomulka
b636a0af02
Deprecate slow log level (#73718)
Indexing and search slow log level setting is deprecated in 7x as it is removed in master

relates #57591
2021-06-03 16:30:45 +02:00
David Turner
1ac5c6f100
Extend version barrier to all upgrades (#73582)
Today when upgrading to the next major version we have a so-called
_major version barrier_: once the cluster comprises nodes of the new
major version then nodes of the previous major version are prevented
from joining the cluster. This means we can be certain that
`clusterState.nodes().getMinNodeVersion().major` will never decrease, so
we can implement upgrade logic that relies on the cluster remaining in
its wholly-upgraded state.

This commit generalises this behaviour to apply to all upgrades, so that
we can be certain that `clusterState.nodes().getMinNodeVersion()` will
never decrease in a running cluster.

Backport of #73358
Closes #72911
2021-06-01 10:35:38 +01:00
David Turner
819dd30b71
Expand MDP deprecation docs with migration guide (#73367)
This commit expands the note about the deprecation of multiple data
paths, adding guidance on how to configure a single filesystem spanning
multiple disks and how to migrate to such a configuration without
downtime.

Closes #71871
2021-06-01 07:43:35 +01:00
James Rodewig
ed62a5bdda
[DOCS] Fix breaking changes tag for 7.13.0 (#73327) (#73328)
Converts several xrefs to external links so we can reuse this content
in the Stack Installation and Upgrade Guide.
2021-05-24 10:15:29 -04:00
Jason Tedor
2a1575744a
Deprecate bootstrap.system_call_filter (#72834)
We are going to require system call filters. This commit is the first
step in that journey, which is to deprecate the setting that allows
disabling system call filters.
2021-05-07 08:58:42 -04:00
Henning Andersen
f0a2b518d0
Breaking changes note for frozen and MDP (#72109)
Relates #71896
2021-05-05 22:02:18 +02:00
James Rodewig
15888c2ae0
7.13.0 release notes (#72306) (#72763)
Co-authored-by: Rory Hunter <pugnascotia@users.noreply.github.com>
2021-05-05 12:37:51 -04:00
James Rodewig
a9d3074d08
[DOCS] EQL: Deprecate wildcard function (#72119) 2021-04-22 15:48:17 -04:00
Alan Woodward
afcb3a15f0
Add breaking changes note for #71696 (#71905) 2021-04-20 11:01:30 +01:00
James Rodewig
345a3ab227
[DOCS] List indices.query.bool.max_clause_count as static cluster setting (#70810) (#70813)
Co-authored-by: Dimitri Koutsos <nephel@users.noreply.github.com>
2021-03-24 09:24:27 -04:00
Yang Wang
1e4732e4a9
Deprecate the behaviour of implicitly disabling file/native realm (#69320)
As a precursor for #50892, this PR deprecate the behaviour of file and/or
native realm being implicitly disabled when there are other explicitly
configured realms.

With this change, the recommend way of disabling file/native realm is to
explicitly set enabled to false, e.g.:

xpack.security.authc.realms.file.default_file.enabled: false

This PR ensures that a warning is generated whenever file and/or native realm
is implicitly disabled.

This change also brings a question about the order parameter. Currently, the
order parameter is mandatory in 8.0 and gets a warning message if it is missing
in 7.x. However, it makes sense to not specify the order parameter if the realm
is disabled. So I also updated the order parameter related code to do just
that.
2021-03-15 16:56:07 +11:00
James Rodewig
e52a5ed1b9
[DOCS] Update ingest pipeline xrefs (#70178) (#70227) 2021-03-10 08:42:49 -05:00
James Rodewig
0845e1ec9c
[DOCS] Add breaking change for REST APIs without request body (#69565) (#69602) 2021-02-25 08:57:29 -05:00
Christoph Büscher
aa39799076
Add note about changed fields API behaviour for nested (#68813)
Add a note about the changes in the `fields` API around the response format for
nested fields.

Relates to #67432
2021-02-11 10:53:38 +01:00
James Rodewig
5c19f460e7
[DOCS] Add missing xref to 7.11 breaking changes (#68613) 2021-02-05 17:12:02 -05:00
debadair
722bbd813d
[DOCS] Rebrand breaking changes as the Migration guide (#66569) (#67495) (#68501)
* [DOCS] Rebrand breaking changes as the Migration guide (#66569) (#67495)

* [DOCS] Rebrand breaking changes as the Migration guide (#66569)

* [DOCS] Rebrand breaking changes as the Migration guide

* Edits

* Fix version reference

* Fixed typo

* Added subsection intros & added info about the deprecation policy

* Fixed duplicate anchor

* [DOCS] Updated 7.12 migration topic

* Fixed unterminated block
2021-02-03 15:34:16 -08:00
James Rodewig
bfafe4c026
[DOCS] Add security privileges to API docs (#67939) (#68053) 2021-01-27 09:29:12 -05:00
Benjamin Trent
1562b23df7
[ML] updating 7.11 breaking changes doc (#67377) (#67535)
Updates breaking changes doc for ML to include changes to the trained models API.

forward port of: #67377
2021-01-14 15:00:35 -05:00
James Rodewig
995b5744bd [DOCS] Add periods to collapsible summary 2021-01-13 10:56:44 -05:00
James Rodewig
e3636739d7
[DOCS] Add periods to collapsible summaries (#67439) (#67445) 2021-01-13 10:42:33 -05:00
Alan Woodward
33f016310d
Add breaking changes for #64597 and #63945 (#67420) 2021-01-13 14:09:13 +00:00
James Rodewig
287719e4c8
[DOCS] Tweak breaking changes headings (#67304) (#67349) 2021-01-12 09:31:39 -05:00
James Rodewig
3872f08b33
[DOCS] Clean up index template xrefs (#67264) (#67272) 2021-01-11 12:58:00 -05:00
James Rodewig
29447ba15b
[DOCS] Fix formatting for breaking changes (#67267) (#67275) 2021-01-11 12:56:39 -05:00
James Rodewig
d126c31636
[DOCS] Fix Fleet links (#66553) (#66558) 2020-12-17 15:35:15 -05:00
David Turner
62356984b1
Fail force-merges on read-only engines (#64756) (#66490)
Today we treat all force-merges on a read-only (e.g. frozen) engine as
no-ops, indicating to the client that they succeeded even if they had no
effect. This commit corrects that behaviour, resolving the resulting
confusion, by rejecting force-merges on read-only engines that are
definitely not no-ops.

Co-authored-by: Howard <danielhuang@tencent.com>
2020-12-17 13:18:42 +00:00
Hendrik Muhs
8e377da291
[7.x][Transform] use ISO dates in output instead of epoch millis (#65584) (#65952)
Transform writes dates as epoch millis, this does not work for historic data in some cases or is
unsupported. Dates should be written as such. With this PR transform starts writing dates in ISO
format, but as existing transform might rely on the format it provides backwards compatibility for
old jobs as well as a setting to write dates as epoch millis.

fixes #63787
backport #65584
2020-12-07 17:18:55 +01:00
Alan Woodward
92e4b15048
Use ValueFetcher when loading text snippets to highlight (#63572) (#65441)
HighlighterUtils.loadFieldValues() loads values directly from the source, and
then callers have to deal with filtering out values that would have been removed
by an ignore_above filter on keyword fields. Instead, we can use the
ValueFetcher for the relevant field, which handles all this logic for us.

Closes #59931.
2020-11-25 17:00:18 +00:00
James Rodewig
0f759a994e
[DOCS] Document upgrade process for concurrency control (#64550) 2020-11-06 08:57:13 -05:00
Julie Tibshirani
211c28f177 Document breaking change around _id field data. 2020-11-04 13:57:49 -08:00
James Rodewig
944568e3dd
[DOCS] Fix "the the" typos (#64344) (#64353)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-10-29 11:50:02 -04:00
Andrew Kroh
3ec9ec750a
[DOCS] Fix cache setting name in 7.9 migration docs (#64063)
The setting name is script.context.$CONTEXT.cache_max_size rather than
script.context.$CONTEXT.context_max_size.
2020-10-22 12:24:01 -04:00
James Rodewig
acc311ee20
[DOCS] Replace xref with external link (#63736) (#63737) 2020-10-15 08:47:58 -04:00
Andrei Dan
d6bf179730
Docs: sync breaking changes from release notes (#63479) (#63713)
This syncs breaking changes from release notes

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
(cherry picked from commit 2cc0ccb110)
Signed-off-by: Andrei Dan <andrei.dan@elastic.co>
2020-10-15 09:26:38 +01:00
Alan Woodward
43ace5f80d Emit deprecation warnings when boosts are defined in mappings (#62623)
We removed index-time boosting back in 5x, and we no longer document the 'boost'
parameter on any of our mapping types. However, it is still possible to define an
index-time boost on a field mapper for a surprisingly large number of field types, and
they even have an effect (sometimes, on some queries).

As a first step in finally removing all traces of index time boosting, this comment emits
a deprecation warning whenever a boost parameter is found on a mapping definition.
2020-09-18 15:40:53 +01:00
Tanguy Leroux
9e38dd0254
Deprecate Repository Stats API (#62297) (#62308)
This commit deprecates the Repository Stats API added in 7.8.0 as
an experimental API behind a feature flag. The goal is to deprecate
this API in 7.10.0 and remove it in a follow up PR in 8.0.0.

This API is now superseded by the Repositories Metering API.
2020-09-14 14:57:38 +02:00
Julie Tibshirani
2ca5f98e05 Small fixes to breaking changes docs.
* Move ngram and shingle changes to the analysis section.
* Add missing heading for field caps change.
2020-09-08 17:19:36 -07:00
James Rodewig
caa1a9024c
[DOCS] Add jump list to breaking changes page (#61598) 2020-08-31 11:25:57 -04:00
James Rodewig
4701832879
[DOCS] Add 7.9 breaking change for built-in templates (#61549) (#61558) 2020-08-26 08:10:59 -04:00
Przemyslaw Gomulka
62baca74ed
[doc] Improve joda-time migration guide (#60499)
Previously migration guide incorrectly stated that joda-time patterns have to be fixed before upgrading to 7.x
since (7.7) #52555 and our bwc policy 6.x created indices even with joda-time are supported
relates #60374
2020-08-20 16:03:58 +02:00
Pius
d6ad247e07
[DOCS] Note max field expansions is not a hard limit (#61120)
Per #35284, it looks like we changed this from a max field expansions limit to a soft limit using the `indices.query.bool.max_clause_count` dynamic cluster settting.
2020-08-18 11:39:09 -04:00
James Rodewig
029869eb35
[DOCS] Fix metadata field refs (#60764) (#60769) 2020-08-05 14:04:55 -04:00
James Rodewig
1cfdb4fc08
[DOCS] Fix formatting in 7.0 breaking changes (#60372) (#60385)
Co-authored-by: Jacob Dreesen <jacob@hdreesen.de>
2020-07-29 09:16:29 -04:00
Yannick Welsch
a55c869aab Properly document keepalive and other tcp options (#60216)
Keepalive options are not well-documented (only in transport section, although also available at http and network level).

Co-authored-by: David Turner <david.turner@elastic.co>
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
2020-07-28 11:10:04 +02:00
James Rodewig
aba785cb6e
[DOCS] Update my-index examples (#60132) (#60248)
Changes the following example index names to `my-index-000001` for consistency:

* `my-index`
* `my_index`
* `myindex`
2020-07-27 15:58:26 -04:00