-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Improve human-readability of ILM timing error message #70336
Copy link
Copy link
Closed
Labels
:Data Management/ILM+SLMDO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead.DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead.>enhancementTeam:Data Management (obsolete)DO NOT USE. This team no longer exists.DO NOT USE. This team no longer exists.Team:Deployment ManagementMeta label for Management Experience - Deployment Management teamMeta label for Management Experience - Deployment Management teamgood first issuelow hanging fruitlow hanging fruit
Metadata
Metadata
Assignees
Labels
:Data Management/ILM+SLMDO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead.DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead.>enhancementTeam:Data Management (obsolete)DO NOT USE. This team no longer exists.DO NOT USE. This team no longer exists.Team:Deployment ManagementMeta label for Management Experience - Deployment Management teamMeta label for Management Experience - Deployment Management teamgood first issuelow hanging fruitlow hanging fruit
Type
Fields
Give feedbackNo fields configured for issues without a type.
In #70089 we added guardrails to protect against ILM policies being created with phase timings that would result in phases running out of order.
For example, let's say the user tries to save a policy configured with a the warm phase that runs 3 days after rollover, a cold phase that runs 2 days after rollover, and a delete phase that runs 1 day after rollover. The API would reject this policy with this error:
phases [cold,delete] configure a [min_age] value less than the [min_age] of [3d] for the [warm] phase, configuration: {cold=2d, delete=1d}The UI team hasn't budgeted time to replicate this error-checking logic in the UI, so for the time being we'll surface the API error directly to the user. Can we make it more human-readable? For example:
Your policy is configured to run the cold phase (min_age: 2 days) and the delete phase (min_age: 1 day) before the warm phase (min_age: 3 days). Change the phase timing so that the phases will execute in the order of hot, warm, then cold.CC @dakrone @debadair @jloleysens