Skip to content

[DOCS] Deprecate transient settings#79167

Merged
grcevski merged 5 commits intoelastic:7.xfrom
grcevski:docs/deprecate_transient_settings
Oct 15, 2021
Merged

[DOCS] Deprecate transient settings#79167
grcevski merged 5 commits intoelastic:7.xfrom
grcevski:docs/deprecate_transient_settings

Conversation

@grcevski
Copy link
Copy Markdown
Contributor

This PR adds the deprecation documentation for transient cluster settings.

It relates to #49540 and it should be merged after #78794 is merged and back ported to 7.x

Nikola Grcevski added 3 commits October 14, 2021 10:59
This PR adds documentation on deprecating the use of
transient cluster settings, in favor of persistent
settings.
@grcevski grcevski added :Core/Infra/Core Core issues without another label >deprecation >docs General docs changes Team:Core/Infra Meta label for core/infra team labels Oct 14, 2021
@grcevski grcevski requested a review from jrodewig October 14, 2021 15:22
@elasticmachine elasticmachine added the Team:Docs Meta label for docs team label Oct 14, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-docs (Team:Docs)

@grcevski
Copy link
Copy Markdown
Contributor Author

Hi @jrodewig, I am new here at Elastic and I was told to tag you for docs PR reviews. We won't be removing this feature in 8.0, do I need to do anything on the 8.0 side for the docs?

@jrodewig jrodewig changed the title Docs/deprecate transient settings [DOCS] Deprecate transient settings Oct 14, 2021
Copy link
Copy Markdown
Contributor

@jrodewig jrodewig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I left a few minor nits, but they aren't blocking. Thanks!

Comment on lines +118 to +119
[[breaking_716_settings_deprecations]]
==== Settings deprecations
Copy link
Copy Markdown
Contributor

@jrodewig jrodewig Oct 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add * <<breaking_716_settings_deprecations>> to the unordered list at the top of this file.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do, thanks!

Comment on lines +133 to +135
To avoid deprecation warnings, discontinue use of transient settings when modifying
your cluster settings through the `PUT _cluster/settings` REST API. When modifying cluster settings
use only persistent settings.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
To avoid deprecation warnings, discontinue use of transient settings when modifying
your cluster settings through the `PUT _cluster/settings` REST API. When modifying cluster settings
use only persistent settings.
To avoid deprecation warnings, don't configure new transient settings using the
{ref}/cluster-update-settings.html[update cluster settings API]. Use persistent
settings instead.

I assume ES only emits a deprecation warning if you add a new transient setting.

Let me know if it also emits a warning for any existing transient settings. I think your transient settings get erased during an upgrade, but I could be wrong.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, only adds a warning for newly added transient settings.

@jrodewig
Copy link
Copy Markdown
Contributor

We won't be removing this feature in 8.0, do I need to do anything on the 8.0 side for the docs?

Nope. If we're adding the deprecation in 7.16, this and #78794 should suffice.

grcevski and others added 2 commits October 14, 2021 17:43
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
@grcevski grcevski merged commit 94584df into elastic:7.x Oct 15, 2021
@grcevski grcevski deleted the docs/deprecate_transient_settings branch October 15, 2021 23:08
grcevski added a commit that referenced this pull request Oct 16, 2021
Fixing merge conflict between #79288 and #79167
jrodewig added a commit that referenced this pull request Nov 3, 2021
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.
jrodewig added a commit that referenced this pull request Nov 3, 2021
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.
jrodewig added a commit that referenced this pull request Nov 3, 2021
Changes:

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

Closes #80055

Relates to #79167.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Core Core issues without another label >deprecation >docs General docs changes Team:Core/Infra Meta label for core/infra team Team:Docs Meta label for docs team v7.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants