Skip to content

Add deprecation check for processors#45925

Merged
jasontedor merged 5 commits into
elastic:7.xfrom
jasontedor:processors-deprecation-check
Aug 24, 2019
Merged

Add deprecation check for processors#45925
jasontedor merged 5 commits into
elastic:7.xfrom
jasontedor:processors-deprecation-check

Conversation

@jasontedor
Copy link
Copy Markdown
Member

The processors setting is deprecated. This commit adds a deprecation check for the use of the processors setting.

Relates #45855
Relates #45905

The processors setting is deprecated. This commit adds a deprecation
check for the use of the processors setting.
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-infra

"setting [%s] is deprecated in favor of setting [%s]",
EsExecutors.PROCESSORS_SETTING.getKey(),
EsExecutors.NODE_PROCESSORS_SETTING.getKey());
final String url = "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking-changes-8.0.html#remove-processors";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This link refers to master, which may be different when someone sees this setting (for example once 7.x is in maintenance mode)? I think we need a better permalink if we are to include this, but haven't we avoided links in exception messages in the past for this exact reason?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Let me make a docs push to add a deprecation note to the 7.4 docs which can be used as a permalink.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I've just realized we have the same issue for the existing DeprecationIssue instances, which we should probably (separately from this PR) fix.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@gwbrown Can you address that?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@rjernst I pushed a permalink that is currently broken, but will be fixed by the time the 7.4 release is in published.

@jasontedor jasontedor requested a review from rjernst August 23, 2019 22:32
Copy link
Copy Markdown
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

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

LGTM

@jasontedor jasontedor merged commit 43ca652 into elastic:7.x Aug 24, 2019
@jasontedor jasontedor deleted the processors-deprecation-check branch August 24, 2019 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Settings Settings infrastructure and APIs >deprecation v7.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants