Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a deprecation info check for fixed_auto_queue_size threadpool settings #76995

Conversation

masseyke
Copy link
Member

The fixed_auto_queue_size threadpool has been removed in 8.0. This commit checks for configuration that is
specific to that threadpool type and issues a deprecation info API message about it.
Relates #42404 #52280

@masseyke masseyke requested a review from jbaiera August 26, 2021 19:38
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Aug 26, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@masseyke masseyke linked an issue Aug 26, 2021 that may be closed by this pull request
80 tasks
Copy link
Member

@jbaiera jbaiera left a comment

Choose a reason for hiding this comment

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

LGTM pending question

@@ -595,4 +595,40 @@ static DeprecationIssue checkClusterRoutingAllocationIncludeRelocationsSetting(f
DeprecationIssue.Level.CRITICAL
);
}

static DeprecationIssue checkFixedAutoQueueSizeThreadpool(final Settings settings,
Copy link
Member

Choose a reason for hiding this comment

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

Should this function be added to the DeprecationChecks file?

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh wow yeah definitely. Thanks for catching it. Done.

@masseyke masseyke merged commit c3e815c into elastic:7.x Sep 2, 2021
@masseyke masseyke deleted the feature/deprecation-info-fixed-auto-queue-size-threadpool branch September 2, 2021 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>non-issue Team:Data Management Meta label for data/management team v7.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Deprecation Info API checks for 8.0
5 participants