Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
During certain race conditions, it is possible to have an asio thread that wakes up to process a response, but the RpcConnection to which this SaslProtocol belongs is dead.
This can happen as a result of the filesystem being destroyed in the middle of a sasl handshake.
Therefore, we should explicitly capture the RpcConnection in the lambda to ensure its existence when the SaslProtocol wakes up to process the server's response.