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

7.0: Look up connection using the right cluster alias when releasing contexts #38599

Merged
merged 2 commits into from Feb 11, 2019

Conversation

javanna
Copy link
Member

@javanna javanna commented Feb 8, 2019

7.0 backport of #38570.

Whenever phase failure is raised in AbstractSearchAsyncAction, we go and
release search contexts of shards that successfully returned their
results, prior to notifying the listener of the failure. In case we are
executing a CCS request, it's important to look-up the connection to
send the release context request to.

This commit makes sure that the lookup takes the cluster alias into
account. We used to use `null` at all times instead which is not correct
and was not caught as any exception is caught without re-throwing it.
@javanna javanna added :Search/Search Search-related issues that do not fall into other categories backport labels Feb 8, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

@javanna javanna merged commit e3c0d51 into elastic:7.0 Feb 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Search/Search Search-related issues that do not fall into other categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants