Skip to content
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

Support point in time in async search #61560

Merged
merged 1 commit into from
Aug 26, 2020

Conversation

dnhatn
Copy link
Member

@dnhatn dnhatn commented Aug 25, 2020

This commit integrates point in time into async search and ensures that it works correctly with security enabled.

Relates #61062

@dnhatn dnhatn added the WIP label Aug 25, 2020
@dnhatn dnhatn added :Search/Search Search-related issues that do not fall into other categories >non-issue v8.0.0 v7.10.0 and removed WIP labels Aug 25, 2020
@dnhatn dnhatn marked this pull request as ready for review August 25, 2020 23:00
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (:Search/Search)

@elasticmachine elasticmachine added the Team:Search Meta label for search team label Aug 25, 2020
Copy link
Contributor

@jimczi jimczi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks great, thanks @dnhatn !

return List.of(new Route(POST, "/{index}/_pit"));
return List.of(
new Route(POST, "/{index}/_pit"),
new Route(POST, "/_pit"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should disable creating a _pit for all indices ?

@dnhatn
Copy link
Member Author

dnhatn commented Aug 26, 2020

Maybe we should disable creating a _pit for all indices ?

@jimczi Thank you for your review. I am merging this PR to unblock the work in ccs. I will discuss it with you tomorrow.

@dnhatn dnhatn merged commit 71afd22 into elastic:master Aug 26, 2020
@dnhatn dnhatn deleted the async-search-with-pit branch August 26, 2020 19:40
Copy link
Contributor

@albertzaharovits albertzaharovits left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

dnhatn added a commit to dnhatn/elasticsearch that referenced this pull request Sep 10, 2020
This commit integrates point in time into async search and
ensures that it works correctly with security enabled.

Relates elastic#61062
dnhatn added a commit that referenced this pull request Sep 10, 2020
This commit integrates point in time into async search and
ensures that it works correctly with security enabled.

Relates #61062
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>non-issue :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team v7.10.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants