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

Ensure notify when proxy connections disconnect #65697

Merged
merged 4 commits into from
Dec 2, 2020

Conversation

dnhatn
Copy link
Member

@dnhatn dnhatn commented Dec 1, 2020

TransportService doesn't respond to the pending requests of proxy connections when the underlying connections get disconnected because proxy connections do not override the getCacheKey method. Some CCS requests would never be completed because of this bug.

I found this while working on the cross-clusters task cancellation in #65443.

@dnhatn dnhatn added >bug :Distributed/Network Http and internode communication implementations v8.0.0 v7.11.0 v6.8.14 v7.10.2 labels Dec 1, 2020
@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team label Dec 1, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@dnhatn dnhatn requested review from original-brownbear and removed request for henningandersen December 2, 2020 17:02
Copy link
Member

@original-brownbear original-brownbear 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 Dec 2, 2020

Thanks Armin!

@dnhatn dnhatn merged commit 26350df into elastic:master Dec 2, 2020
@dnhatn dnhatn deleted the proxy-disconnected branch December 2, 2020 22:41
dnhatn added a commit that referenced this pull request Dec 3, 2020
TransportService doesn't respond to the pending requests of proxy
connections when the underlying connections get disconnected because
proxy connections do not override the getCacheKey method. Some CCS
requests would never be completed because of this bug.
dnhatn added a commit that referenced this pull request Dec 3, 2020
TransportService doesn't respond to the pending requests of proxy
connections when the underlying connections get disconnected because
proxy connections do not override the getCacheKey method. Some CCS
requests would never be completed because of this bug.
dnhatn added a commit that referenced this pull request Dec 3, 2020
TransportService doesn't respond to the pending requests of proxy
connections when the underlying connections get disconnected because
proxy connections do not override the getCacheKey method. Some CCS
requests would never be completed because of this bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Distributed/Network Http and internode communication implementations Team:Distributed Meta label for distributed team v6.8.14 v7.10.2 v7.11.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants