Skip to content

ILM: fix after rendering to xcontent #33282

@talevy

Description

@talevy

we currently ignore the TimeValue string representation and use our own that forces it to be represented in seconds. This is not user friendly, since our time-scale is often way beyond seconds.

The offending code:

builder.field(AFTER_FIELD.getPreferredName(), after.seconds() + "s"); // Need a better way to get a parsable format out here

Metadata

Metadata

Assignees

Labels

:Data Management/ILM+SLMDO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions