[Discuss][Search Sessions] Synchronizing async_search keepslive updates #88599
Labels
blocker
bug
Fixes for quality problems that affect the customer experience
Feature:Search
Querying infrastructure in Kibana
Project:AsyncSearch
Background search, partial results, async search services.
v7.12.0
In order to avoid having "abandoned" searches that keep running, after a user has closed Kibana, In #73712, we started extending the
keep_alive
ofasync_search
requests by1m
every time we poll them.However, with the release of
Search Sessions
coming upon us, this workaround creates a problem. When aSearch Session
is being stored, we need to extend the expiration of the searches it contains, creating a potential race condition. When the race condition happens, we would save aSearch Session
and then some of the searches in it will expire, and show errors when restoring.@jimczi and I have discussed a couple of solutions:
And now the Elasticsearch need to decide how they prefer to work around this problem.
The text was updated successfully, but these errors were encountered: