Commit graph

1115 commits

Author SHA1 Message Date
Jake Landis
00632845d2
Reintroduce 7.17 Backport for DLS changes (#109494)
* Reapply "[7.17] Backport DLS changes (#108330)" (#109349)

This reverts commit 692a1a2448.

* re-implement excludeDeleteDocs as hack

* Revert "re-implement excludeDeleteDocs as hack"

This reverts commit 6006031692.

* re-implement serialization with metadata

* use correct xContent

* fix unmodifiable exception

* [review comments] use constant and underscore prefix
2024-06-13 09:05:25 +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
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
Michal Junek
e4ad33760e
Fixes a typo in 7.0 migration guide (#95765) 2023-05-03 11:29:25 +02:00
Yuki Okushi
7aa0dc31c1
[7.17] [DOCS] Fix incorrect statement for slow log level removal (#93022)
Update the documentation for slow log levels
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-15 15:27:37 +01:00
Lee Hinman
bd146bcf60
Add note about inadvertent breakage for HLRC in 7.16 regarding indices options (#89469)
This adds a note about an unintended break in behavior for the HLRC with
regard to the indices options that are sent by default with requests.

Relates to #77864
2022-08-24 05:44:57 +09:30
Yang Wang
17731e28c3
[Docs] Fix url for feature migration APIs (#86330) (#86372)
Both GET and POST version of the API have a leading underscore.
2022-05-02 20:17:11 -04:00
Artem Prigoda
5d498a18bd
DOCS: Add 7.17.2 release notes (#85392)
Remove the `:coming` tag
2022-03-30 20:49:32 +02:00
James Rodewig
def256b006
[DOCS] Update migration APIs docs (#83901) (#83968)
* Adds a shared note that the migration APIs are mainly intended for internal use by Kibana's Upgrade Assistant.
* Updates the feature migration API docs to use updated "migration" terminology.
* Removes some references to major versions from the deprecation API docs.

(cherry picked from commit e117812ef8)

# Conflicts:
#	docs/reference/redirects.asciidoc
2022-02-15 12:33:22 -05:00
James Rodewig
badfbdad96
[DOCS] Fix 7.17 mapping deprecations (#83910)
* Relocates the "Camel case date formats are deprecated" deprecation to the deprecation section.
* Adds a `[discrete]` tag so the content displays on the same page.
2022-02-14 20:26:01 -05:00
Przemyslaw Gomulka
4482fb887f
[doc] breaking changes about camel case date formats (#83841) 2022-02-14 10:42:44 +01:00
Adam Locke
2049074785
[DOCS] Add breaking change for renaming the XContent library (#83234) 2022-01-28 09:52:19 -05:00
David Turner
1ad7028200
Add deprecation docs for voting config excls. API (#78821)
In #55291 we deprecated the older form of the voting config exclusions
API but forgot to record this deprecation in the docs. This commit adds
the missing docs.

Co-authored-by: James Rodewig <james.rodewig@elastic.co>
2022-01-26 14:25:30 +00:00
Adam Locke
30907ddab1
[DOCS] Update security deprecation message in migration guide (#82816)
* [DOCS] Update security deprecation message in migration guide

* Update deprecation description

Co-authored-by: Fabio Busatto <52658645+bytebilly@users.noreply.github.com>

Co-authored-by: Fabio Busatto <52658645+bytebilly@users.noreply.github.com>
2022-01-20 09:30:52 -05:00
James Rodewig
44c7cb7278
[DOCS] Add 7.13 breaking change for ESS searchable snapshot shared cache (#80795)
You can no longer configure `xpack.searchable.snapshot.shared_cache.size` as a user setting in ESS on 7.13+ deployments. This adds a related breaking change to the 7.13 docs.

Relates to https://github.com/elastic/elasticsearch/pull/80793
2022-01-18 08:35:37 -05:00
James Rodewig
bf4c62e67d
[DOCS] Remove Windows MSI installer package (#81952)
After 7.16.2, we'll no longer produce Windows MSI installer packages for Elasticsearch. These packages were previously released in beta and didn't receive widespread adoption.

### Changes:

* Adds a related 7.17 breaking change.
* Adds a related 7.16 deprecation.
* Removes the MSI installation instructions.
* Removes references to the MSI installer.

I plan to port the applicable changes to 8.1 (main), 8.0, 7.17, and 7.16. In the 7.16 ports, I'll leave in the MSI install docs and add related deprecation notes to them instead.
2021-12-20 13:33:06 -05:00
István Zoltán Szabó
72509415e1
[7.16][DOCS] Changes HLRC Client links. (#81513) 2021-12-08 12:56:47 +01:00
James Rodewig
4a1e55d738
[DOCS] Fix 7.16 breaking change formatting (#81390) 2021-12-06 17:46:13 -05:00
James Baiera
512b60c3e4
Monitoring migration guide updates (#79756)
Adds additional documentation for the deprecation of the Monitoring plugin collection and shipping settings.
2021-12-03 15:35:35 -05:00
Artem Prigoda
47da0dca20
[7.16] Revert "Deprecate returning 408 for a server timeout on _cluster/health (#78180)" (#80831)
* Revert "Allow deprecation warning for the return_200_for_cluster_health_timeout parameter (#80178) (#80445)"

This reverts commit 5a5300753d.

* Revert "[7.x] Use query param instead of a system property for opting in for new cluster health response code (#79397) (#79435)"

This reverts commit d8c14281

* Revert "[7.x] Deprecate returning 408 for a server timeout on `_cluster/health` (#78180) (#78940)"

This reverts commit 03bd55d1
2021-11-18 16:57:39 +01:00
James Rodewig
39397f9462
[DOCS] Un-deprecate transient cluster settings (#80766)
#80556 reverted the deprecation of transient cluster settings. This replaces deprecation language in the docs with a warning/recommendation to avoid transient settings.

Closes #80557
2021-11-16 15:47:23 -05:00
Benjamin Trent
4724553d91
[ML] deprecate estimated_heap_memory_usage_bytes and replace with model_size_bytes (#80545)
This deprecates estimated_heap_memory_usage_bytes on model put and replaces it with model_size_bytes.

On GET, both fields are returned (unless storing in the index) and are populated with the same field.

For the ml/info API, both fields are returned as well.
2021-11-10 11:24:04 -05:00
Nikola Grcevski
581e785022
[7.16] Undo transient settings deprecation (#80558) (#80570)
Remove transient settings deprecation message from logs
and upgrade assistant.
2021-11-09 20:30:56 -05:00
Jake Landis
c6ae9aa26d
[7.16] Add a note about support for deprecation.skip_deprecated_settings (#80035) (#80507)
This commit adds a warning that this setting should only
be used indirectly by ESS/ECE/ECK. Wording is borrowed from
[cloud-only](54335b0790/shared/attributes.asciidoc (L145))
2021-11-08 12:28:04 -06:00
James Rodewig
07ac8818b6
[DOCS] Remove testenv annotations from doc snippet tests (#80023) (#80458)
Removes `testenv` annotations and related code. These annotations originally let you skip x-pack snippet tests in the docs. However, that's no longer possible.

Relates to #79309, #31619
# Conflicts:
#	docs/reference/ml/df-analytics/apis/get-trained-model-deployment-stats.asciidoc
#	docs/reference/ml/df-analytics/apis/infer-trained-model-deployment.asciidoc
#	docs/reference/ml/df-analytics/apis/put-trained-model-definition-part.asciidoc
#	docs/reference/ml/df-analytics/apis/put-trained-model-vocabulary.asciidoc
#	docs/reference/ml/df-analytics/apis/start-trained-model-deployment.asciidoc
#	docs/reference/ml/df-analytics/apis/stop-trained-model-deployment.asciidoc
#	docs/reference/slm/apis/slm-delete.asciidoc
#	docs/reference/slm/apis/slm-execute-retention.asciidoc
#	docs/reference/slm/apis/slm-execute.asciidoc
#	docs/reference/slm/apis/slm-get-status.asciidoc
#	docs/reference/slm/apis/slm-get.asciidoc
#	docs/reference/slm/apis/slm-start.asciidoc
#	docs/reference/slm/apis/slm-stats.asciidoc
#	docs/reference/slm/apis/slm-stop.asciidoc
#	docs/reference/sql/endpoints/client-apps/tableau-desktop.asciidoc
#	docs/reference/sql/endpoints/client-apps/tableau-server.asciidoc
2021-11-05 19:41:54 -04:00
James Rodewig
ff0b01ce40
[DOCS] Add transient settings migration guide (#80091)
Changes:

* Adds a transient settings migration guide to the 7.16 docs.
* Updates the related deprecation docs to link to the guide.

Closes #80055 

Relates to #79167.
2021-11-03 09:06:12 -04:00
Adam Locke
c0a893dbb0
[DOCS] Add system indices deprecation (#80095)
* [DOCS] Add system indices deprecation

* Clarify impact on deprecation log
2021-11-02 14:41:52 -04:00
James Rodewig
9466322b69
[DOCS] Fix 7.9 breaking changes for stack template removal (#79773)
Applies changes from #71254 to all 7.x branches after 7.9 for consistency.
2021-10-26 11:33:43 -04:00
Lisa Cawley
556c71f39e
[DOCS] Adds deprecation details for max_page_search_size (#79664) 2021-10-25 15:49:21 -07:00
Przemyslaw Gomulka
ca1c03cfa1
Revert "Deprecate resolution loss on date field (#78921) backport(#79355)" (#79613)
This reverts commit ff6e589.
and
docs commit 69cf4a3.
2021-10-21 19:01:36 +02:00
Przemyslaw Gomulka
69cf4a3154
[DOCS] [7.x] Document deprecation of storing nanosecond resolution on date field (#79554)
relates #78921
2021-10-20 15:37:07 +02:00
Gordon Brown
35dc030ed8
Implement framework for migrating system indices (#78951)
This PR adds a framework for migrating system indices as necessary prior
to Elasticsearch upgrades. This framework uses REST APIs added in
another commit:
- GET _migration/system_features

This API, which gets the status of "features" (plugins which own system
indices) with regards to whether they need to be upgraded or not. As of
this PR, this API also reports errors encountered while migrating system
indices alongside the index that was being processed when this occurred.

As an example of this error reporting:

```json
{
    "feature_name": "logstash_management",
    "minimum_index_version": "8.0.0",
    "upgrade_status": "ERROR",
    "indices": [
        {
            "index": ".logstash",
            "version": "8.0.0",
            "failure_cause": {
                "error": {
                    "root_cause": [
                        {
                            "type": "runtime_exception",
                            "reason": "whoopsie",
                            "stack_trace": "<omitted for brevity>"
                        }
                    ],
                    "type": "runtime_exception",
                    "reason": "whoopsie",
                    "stack_trace": "<omitted for brevity>"
                }
            }
        }
    ]
}
```

- POST _migration/system_features

This API starts the migration process. The API for this has no changes,
but when called, any system indices which need to be migrated will be
migrated, with status information stored in the cluster state for later
use by the GET _migration/system_features API.
2021-10-19 20:16:39 -06:00
Lisa Cawley
fcc474df8a
[DOCS] Fixes breaking change links for Installation Upgrade Guide (#79529) 2021-10-19 18:47:40 -07:00
Stuart Tettemer
005d8f0106
Script: Deprecate script context cache (#79508)
* Script: Deprecate script context cache

Deprecate the script context cache in favor of the general cache.

Users should use the following settings:
`script.max_compilations_rate` to set the max compilation rate
  for user scripts such as filter scripts.  Certain script contexts
  that submit scripts outside of the control of the user are
  exempted from this rate limit.  Examples include runtime fields,
  ingest and watcher.

`script.cache.max_size` to set the max size of the cache.

`script.cache.expire` to set the expiration time for entries in
the cache.

Whats deprecated?
`script.max_compilations_rate: use-context`.  This special
setting value was used to turn on the script context-specific caches.

`script.context.$CONTEXT.cache_max_size`, use `script.cache.max_size`
instead.

`script.context.$CONTEXT.cache_expire`, use `script.cache.expire`
instead.

`script.context.$CONTEXT.max_compilations_rate`, use
`script.max_compilations_rate` instead.

The default cache size was increased from `100` to `3000`, which
was approximately the max cache size when using context-specific caches.

The default compilation rate limit was increased from `75/5m` to
`150/5m` to account for increasing uses of scripts.

Refs: #62899
2021-10-19 20:15:45 -05:00
William Brafford
159cb4413c
Use 'migration' instead of 'upgrade' in GET system feature migration status responses (#79302) (#79495)
* Change 'upgrade' to 'migration' in System Index Migration responses
2021-10-19 13:32:53 -04:00
Adam Locke
4e57b13083
[7.X] [DOCS] Add deprecation notice for nameid_format (#79497) 2021-10-19 13:30:05 -04:00
David Turner
1ca828b219
Fix internal link in migration guide (#79489)
In #79451 we introduced an internal link in the migration guide, but
this has to be an external link so that these docs can be re-used in the
stack-wide guide too. This fixes that oversight.
2021-10-19 16:48:18 +01:00
David Turner
9184b4c831
Add deprecation docs for cluster health HTTP code (#79451)
Documents the deprecation introduced in #78180 and adjusted in #79351.
2021-10-19 16:12:17 +01:00
Nikola Grcevski
bbd045d86b
Fix merge conflict. (#79304)
Fixing merge conflict between #79288 and #79167
2021-10-15 20:33:07 -04:00
Nikola Grcevski
94584df803
[DOCS] Deprecate transient settings (#79167)
This PR adds documentation on deprecating the use of
transient cluster settings, in favor of persistent
settings.

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
2021-10-15 19:08:25 -04:00
Nikola Grcevski
8512037aaa
[7.x] Deprecation of transient cluster settings (#78794) (#79288)
This PR changes uses of transient cluster settings to
persistent cluster settings.

The PR also deprecates the transient settings usage.

Relates to #49540
2021-10-15 19:06:33 -04:00
Adam Locke
d1bb15a65f
[DOCS] Add deprecation warnings for SSL settings (#78853) 2021-10-15 10:45:31 -04:00
Henning Andersen
3eadef4774
Make disk.threshold_enabled operator only (#78822) (#79217)
Orchestrated environments should not allow users to override
`cluster.routing.allocation.disk.threshold_enabled`, so making this
operator only.

Closes #77846

Co-authored-by: David Turner <david.turner@elastic.co>
2021-10-15 11:01:00 +02:00
William Brafford
1b5827da3e
Implement GET API for System Feature Upgrades (#78642) (#78860)
* Implement GET API for System Feature Upgrades (#78642)

* Implement and test get feature upgrade status API
* Add integration test for feature upgrade endpoint
* Use constant enum for statuses
* Add unit tests for transport class methods
* Fix bwc tests for 7.x
2021-10-12 15:44:45 -04:00
Keith Massey
3e3d974566
Filtering setting deprecation info API messages based on a setting (#78725)
This commit adds the ability to configure a list of settings that will be ignored by the deprecation info
API. Any deprecation messages for any of the settings given will be suppressed.
2021-10-07 14:03:21 -05:00
James Baiera
3d21e32c83
Deprecate create_legacy_templates setting on HTTP Exporters (#78564)
This PR marks the xpack.monitoring.exporters.*.index.template.create_legacy_templates setting as deprecated.

This also addresses a couple of deprecation related failures that were introduced as part of the test updates.
2021-10-04 16:20:56 -04:00
William Brafford
739587e018
Feature upgrade rest stubs (#77827) (#78486)
* Add stubs for get API
* Add stub for post API
* Register new actions in ActionModule
* HLRC stubs
* Unit tests
* Add rest api spec and tests
* Add new action to non-operator actions list
2021-09-29 19:12:04 -04:00
James Baiera
278906cc43
Deprecate the Monitoring ingest settings (#77659)
This PR marks the xpack.monitoring.exporters.*.use_ingest and
xpack.monitoring.exporters.*.index.pipeline.master_timeout 
settings as deprecated in 7.16.0 with removal in 8.0.0.
2021-09-29 15:27:36 -04:00
James Rodewig
cc3396e76b
[DOCS] Re-add docs for multiple data paths (MDP) (#78342) (#78384)
We deprecated support for multiple data paths (MDP) in 7.13. However,
we won't remove support until after 8.0.

Changes:

* Reverts PR #72267, which removed MDP docs
* Removes a related item from the 8.0 breaking changes.
2021-09-28 09:40:02 -04:00
James Rodewig
043f1f5120
[DOCS] Amend 7.13 deprecation for MDP support (#78340)
We deprecated multiple data paths (MDP) in 7.13. However, we won't be
removing MDP support in 8.0. This amends the related 
deprecation notice in the 7.13 migration guide.
2021-09-28 08:45:06 -04:00