Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
MXS-4090: Add failsafe for unexpected responses
If the backend protocol itself is broken, as is seen in MXS-4090, an unexpected response can still end up being routed to the routers. To handle the cases where an unexpected result will cause a crash, we need code in readwritesplit that kills the session if it was't expecting a result. This should prevent the crash while also allowing better debug information to be generated in the hopes that it will eventually be fixed.
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 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