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

Deprecate multiple path.data entries #71207

Merged
merged 6 commits into from
Apr 2, 2021
Merged

Deprecate multiple path.data entries #71207

merged 6 commits into from
Apr 2, 2021

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Apr 1, 2021

This commit adds a node level deprecation log message when multiple
data paths are specified.

relates #71205

This commit adds a node level deprecation log message when multiple
data paths are specified.

relates elastic#71205
@rjernst rjernst added :Core/Infra/Core Core issues without another label >deprecation v8.0.0 v7.13.0 labels Apr 1, 2021
@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Apr 1, 2021
@elasticmachine
Copy link
Collaborator

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

@rjernst rjernst requested a review from jasontedor April 1, 2021 22:48
Copy link
Member

@jasontedor jasontedor left a comment

Choose a reason for hiding this comment

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

I left one suggestion.

if (initialEnvironment.dataFiles().length > 1) {
// NOTE: we use initialEnvironment here, but assertEquivalent below ensures the data paths do not change
deprecationLogger.deprecate(DeprecationCategory.SETTINGS, "multiple-data-paths",
"Configuring multiple path.data paths is deprecated. Use RAID-0 or other system level features for utilizing" +
Copy link
Member

Choose a reason for hiding this comment

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

Sorry, I should have thought of this when you ran this wording by me earlier. I think we should avoid "RAID0" here specifically, and simply say RAID, so that it doesn't seem like we're putting our weight behind a specific RAID configuration.

Copy link
Member

@jasontedor jasontedor left a comment

Choose a reason for hiding this comment

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

LGTM.

@rjernst rjernst merged commit 6cf4eb7 into elastic:master Apr 2, 2021
@rjernst rjernst deleted the mdp1 branch April 2, 2021 21:55
rjernst added a commit to rjernst/elasticsearch that referenced this pull request Apr 2, 2021
This commit adds a node level deprecation log message when multiple
data paths are specified.

relates elastic#71205
rjernst added a commit that referenced this pull request Apr 2, 2021
This commit adds a node level deprecation log message when multiple
data paths are specified.

relates #71205
pgomulka added a commit to pgomulka/elasticsearch that referenced this pull request Jun 2, 2021
EnsureNoWarnings method should assert that there is no other warnings
than the allowed "predefined" warnings in filteredWarnings() method

bug introduced in elastic#71207
pgomulka added a commit that referenced this pull request Jun 2, 2021
EnsureNoWarnings method should assert that there is no other warnings
than the allowed "predefined" warnings in filteredWarnings() method

bug introduced in #71207
pgomulka added a commit to pgomulka/elasticsearch that referenced this pull request Jun 2, 2021
EnsureNoWarnings method should assert that there is no other warnings
than the allowed "predefined" warnings in filteredWarnings() method

bug introduced in elastic#71207
pgomulka added a commit that referenced this pull request Jun 3, 2021
EnsureNoWarnings method should assert that there is no other warnings
than the allowed "predefined" warnings in filteredWarnings() method

bug introduced in #71207
backports #73647
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 Team:Core/Infra Meta label for core/infra team v7.13.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants