forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML] Set ml.config_version attribute even when ML is disabled
Even if ML is disabled on a node we need to set the ML config version attribute, as an old node could still affect what ML functionality is safe to use. Additionally, in the code that was supposed to avoid a crash when the attribute was missing we were catching the wrong type of exception.
- Loading branch information
1 parent
e87f58d
commit 659493a
Showing
2 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters