Skip to content

Commit

Permalink
Clarify the scenario in which the user has selected node_attrs alloca…
Browse files Browse the repository at this point in the history
…tion but no data tiers are available.
  • Loading branch information
cjcenizal committed Apr 5, 2021
1 parent fe5850b commit 0ebf824
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ export const DataTierAllocationField: FunctionComponent<Props> = ({ phase, descr
/**
* Node role allocation moves data in a phase to a corresponding tier of the same name. To prevent policy execution from getting
* stuck ILM allocation will fall back to a previous tier if possible. We show the WARNING below to inform a user when even
* this fallback will not succeed.
* NOTE: Can this ever happen?
* this fallback will not succeed, for example if the user only has 'data' node roles, and no `data_<tier>` node roles.
*/
if (noTiersAvailable) {
return (
Expand Down

0 comments on commit 0ebf824

Please sign in to comment.