-
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
[Search Sessions] don't stay stable during upgrade #104385
Comments
Pinging @elastic/kibana-app-services (Team:AppServices) |
FYI to someone who will work on this, there is a hacky way to skip documents during migration: #96938 currently we skip non-persisted sessions, but we could skip all the sessions. cc @ppisljar, this even doesn't look like a persistable state use-case 😮 I think the best would be to indeed NOT move those sessions to new kibana index. But then what can we do with hanging async searches which might execute in a background for a week |
Can we delete the async searches and drop the search session saved objects? Wrt implementation it could be done as part of the data plugin on startup - check whether there are sessions from older versions, if yes delete them and any associated async searches |
I agree, it sounds we should delete those. |
Just to sum up: I think we can’t do anything about it, I think we can only delete search sessions from previous kibana versions.
We could also leave those search sessions, but add a warning on search sessions from previous versions saying “Might not fully be restorable” 😞 |
Kibana version: 7.14
Describe the bug: Search session can't be restored after an upgrade form 7.13 to 7.14
Steps to reproduce:
Expected behavior:
Session should be restored
Any additional context:
I'm not sure whether it's possible to really solve this - apps change their behavior in different versions and emit different queries, so it might not even be possible to retain a session. Maybe we should just delete all search sessions on upgrade and start over?
E.g. this is the Discover difference which seems legit to me:
The text was updated successfully, but these errors were encountered: