-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Data Management/Indices APIsAPIs to create and manage indices and templatesAPIs to create and manage indices and templates>enhancement
Description
Proposal
Add new index-level setting called index.rollover_date that will record the time an index was
rolled over.
Usage
- general index management. It would be nice to know
- it could be used by systems like Index-Lifecycle-Management to keep track of relative age of
the documents within an index. For example, we would only want to move on to thewarmphase after 7 days. Is this 7 days after the index was created, or rolled over? We believe that it should be
relative to the rollover date. (see inherit [index.lifecycle.date] from rolled-over time #30853 (comment))
Implementation
Add an additional callback action to when the rollover aliases are appropriately swapped to also update index.rollover_date on the rolled over index, and then continue the active-shards check before returning the rollover response
colings86, nik9000 and JacksonHacker
Metadata
Metadata
Assignees
Labels
:Data Management/Indices APIsAPIs to create and manage indices and templatesAPIs to create and manage indices and templates>enhancement