-
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] cleanup error when navigating away from a loading dashboard without saving the session #104309
Comments
Pinging @elastic/kibana-app-services (Team:AppServices) |
Same thing happens when a session gets "stopped" - the async searches are cleaned up, but the session object sticks around. |
Related (possible duplicate): #98698 |
I tried to reproduce, while I see the underlying problem, I wasn't able to see a log in kibana server. kibana/x-pack/plugins/data_enhanced/server/search/session/check_non_persiseted_sessions.ts Lines 90 to 94 in 32e6b1e
It also should be muted in 7.14, but then I wonder @flash1293, what version have you tested? Regarding the issue: But for now, I suggest a small improvement, where we stop trying to delete a search if we know it has already errored out: #105434 |
Kibana version: 7.14
Describe the bug: When navigating away from a dashboard which is currently loading without saving the session first, the document in
.async_search
gets deleted, but the search session saved object is still around - it will enter error state after a while because the current state can't be polled, then get cleaned up. While doing the cleanup, Kibana attemps to delete the async search which will create an error in the Kibana logSteps to reproduce:
Expected behavior:
No error
Any additional context:
As mentioned above, the async search managed by Elasticsearch and the session saved object managed by Kibana get out of sync. In this scenario the saved object should be deleted as well.
The text was updated successfully, but these errors were encountered: