Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close Netty channel on Bolt handshake failure
Bolt protocol executes a handshake before establishing new session. New worker is started for each session after protocol negotiation and handshake complete. Creation of a worker can potentially fail with a runtime exception. In this case corresponding Netty channel would just remain open and client (driver) would hang waiting for a response. This commit makes code close channels even when handshake fails.
- Loading branch information
Showing
6 changed files
with
428 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.