-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Conversation
This commit adds a node level deprecation log message when multiple data paths are specified. relates elastic#71205
Pinging @elastic/es-core-infra (Team:Core/Infra) |
There was a problem hiding this 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" + |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
This commit adds a node level deprecation log message when multiple data paths are specified. relates elastic#71205
EnsureNoWarnings method should assert that there is no other warnings than the allowed "predefined" warnings in filteredWarnings() method bug introduced in elastic#71207
EnsureNoWarnings method should assert that there is no other warnings than the allowed "predefined" warnings in filteredWarnings() method bug introduced in #71207
EnsureNoWarnings method should assert that there is no other warnings than the allowed "predefined" warnings in filteredWarnings() method bug introduced in elastic#71207
This commit adds a node level deprecation log message when multiple
data paths are specified.
relates #71205