-
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 support for prompting user to unfreezing indices to the Upgrade Assistant #205945
Comments
There was actually already a deprecation issue for this, but only at |
Hey @dakrone ! Is it true that all frozen indices will be 7.x indices? When I attempted to create a frozen index I needed to do so on 7.x (which also meant creating an index <8). The 8.18.0 migration deprecation info reported:
If this is true, we could just "fix" the frozen index by following our reindex flow. The alternative being that users delete this data. |
Forcing a re-index could be unnecessary here. The user could unfreeze the index, and then mark it as a verified read-only and allow it to be read without re-indexing by using the N-2 support. Or is that what you mean by the re-index flow? |
That's a good point. In that case, making an index "read-only" would involve unfreezing yeah. But is the assumption about them being <8 preserved? |
from a UI/end user perspective, we could do this all under the hood is what I was thinking (avoiding UI changes). Or is there value in the user also knowing that this is a frozen index? |
Yes, the only way they would be frozen would be if they came from a 7.x cluster. The
We can definitely do this under the hood, if that's an option for the Kibana side. |
I've created frozen indices in 7.last and tested the UA in 8.x.
When running the reindex flow, It successfully reindexes frozen indices without any extra action. If we are certain that any frozen indices will also be "Old, aka < 8.0", then we can simply:
|
In the event that a user decides to mark the index with a verified read-only flag (i.e., they have decided they're fine with it being read-only via the N-2 support in 9.0), we still need to force them to unfreeze the index, as the |
In 8.last, we're going to add a migration API issue where a user must unfreeze an index before upgrading to 9.0. The Upgrade Assistant should take this issue from the API and give the user the ability to unfreeze the index (or delete it) before the upgrade.
/cc @elastic/kibana-core @Bamieh
The text was updated successfully, but these errors were encountered: