Skip to content

Fix Transport Stopped Exception (#48930)#49035

Merged
henningandersen merged 2 commits intoelastic:7.xfrom
henningandersen:fix_transport_stopped_exception_7x
Nov 13, 2019
Merged

Fix Transport Stopped Exception (#48930)#49035
henningandersen merged 2 commits intoelastic:7.xfrom
henningandersen:fix_transport_stopped_exception_7x

Conversation

@henningandersen
Copy link
Copy Markdown
Contributor

When a node shuts down, TransportService moves to stopped state and
then closes connections. If a request is done in between, an exception
was thrown that was not retried in replication actions. Now throw a
wrapped NodeClosedException exception instead, which is correctly
handled in replication action. Fixed other usages too.

Relates #42612

Backport of #48930

When a node shuts down, `TransportService` moves to stopped state and
then closes connections. If a request is done in between, an exception
was thrown that was not retried in replication actions. Now throw a
wrapped `NodeClosedException` exception instead, which is correctly
handled in replication action. Fixed other usages too.

Relates elastic#42612
@henningandersen henningandersen added >bug :Distributed/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. backport v7.6.0 labels Nov 13, 2019
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

@henningandersen henningandersen merged commit 66f0c89 into elastic:7.x Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport >bug :Distributed/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. v7.6.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants