-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add frozen phase to ILM UI #91189
Comments
Pinging @elastic/es-ui (Team:Elasticsearch UI) |
This is related to our idea of adding support for a default repository elastic/elasticsearch#66040 |
@cjcenizal of course, we'll do a full UX test on Cloud. 👍 |
Addressed by #93068 |
Previously implemented in #75968 and then removed in #77877
API
Per @dakrone, the frozen phase API is stable enough to develop a UI against, with code merged into master that supports:
data_frozen
frozen tier node role (Add the frozen tier node role and ILM phase elasticsearch#68605)The available actions in the frozen phase are:
UX considerations
All searchable snapshot actions must use the same repository
Support for different repositories is not going to be in 7.12 and is unlikely to ever be implemented since it seems like a corner case. ILM will reject a policy if you have multiple searchable snapshot actions specifying different repos (elastic/elasticsearch#68856).
A naive UX solution to this constraint would be to surface validation errors if the user selects different repositories for multiple searchable snapshot actions.
A more sophisticated solution would be to prompt the user to specify a single policy-wide repository that will apply to all searchable snapshot actions. But this introduces its own challenges -- where would we surface this input? How do we maintain the connection to the searchable snapshot actions that it configures?
The searchable snapshot
storage
option is optionalIf the
storage
option of thesearchable_snapshot
action isn't configured, it will default to different values depending on the phase it's in:Full searchable snapshots store primary data locally and store replica data in the snapshot. Primary data is restored from the snapshot if it's lost.
Partial searchable snapshots store no data locally. When the index is queried, they transfer data from the snapshot as it's needed, with some additional local caching.
Lee's guidance is that the UI doesn't need to provide a value for this option unless the user wants to.
The searchable snapshot action precludes some subsequent actions
Once searchable snapshot is enabled, certain other actions are disallowed from executing afterwards. This list was pulled from the ES code:
Note: The ES code lists searchable snapshot as also disallowed but elastic/elasticsearch#68864 has been opened to allow it.
The text was updated successfully, but these errors were encountered: