Skip to content

Conversation

@dnhatn
Copy link
Member

@dnhatn dnhatn commented Oct 27, 2020

With this change, we will always return the same point in time in a search response as its input until we implement the retry mechanism for the point in times.

@dnhatn dnhatn added >non-issue :Search/Search Search-related issues that do not fall into other categories v8.0.0 v7.11.0 v7.10.1 labels Oct 27, 2020
@dnhatn dnhatn requested a review from jimczi October 27, 2020 03:14
@elasticmachine
Copy link
Collaborator

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

@elasticmachine elasticmachine added the Team:Search Meta label for search team label Oct 27, 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.

LGTM

@dnhatn
Copy link
Member Author

dnhatn commented Oct 27, 2020

run elasticsearch-ci/packaging-sample-unix

@dnhatn dnhatn merged commit a4d4a17 into elastic:master Oct 27, 2020
@dnhatn dnhatn deleted the return-same-pit branch October 27, 2020 13:46
dnhatn added a commit that referenced this pull request Oct 27, 2020
With this change, we will always return the same point in time in a
search response as its input until we implement the retry mechanism
for the point in times.
dnhatn added a commit that referenced this pull request Oct 27, 2020
With this change, we will always return the same point in time in a
search response as its input until we implement the retry mechanism
for the point in times.
@andreidan andreidan added v7.10.0 and removed v7.10.1 labels Oct 28, 2020
boolean includeSearchContextInResponse() {
return request.pointInTimeBuilder() != null;
boolean buildPointInTimeFromSearchResults() {
// TODO: Until we implement the retry mechanism for point in times (i.e., replace an unavailable shard with an equivalent copy),
Copy link
Contributor

Choose a reason for hiding this comment

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

I noticed this TODO while working on an unrelated refactor. Do we need to address the TODO now that we retry point-in-times (#66713)?

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 v7.11.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants