forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Session management] update cleanup query to allow partial search res…
…ults for PIT query (elastic#203413) Closes elastic#203440 ### Summary Update session cleanup task by adding the partial search results flag to the PIT query as well and not just the search query. #### Notes In the previous “fix”, the partial search results flag was incorrectly added to the search query that depended on the PIT query. However, the correct way is to set the flag when we openPointInTimeQuery which is then used in the subsequent search query ### Release notes Fixes error with opening point in time query for session deletion by now accounting for partial results. Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] The PR description includes the appropriate Release Notes section, and the correct `release_node:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- Loading branch information
1 parent
2fa8f47
commit 91fec7a
Showing
2 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters