Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
MDEV-30419 Fix unhandled exception thrown from wsrep-lib
Updated wsrep-lib to version in which server_state wait_until_state() and sst_received() were changed to report errors via return codes instead of throwing exceptions. Added error handling accordingly. Tested manually that failure in sst_received() which was caused by server misconfiguration (unknown configuration variable in server configuration) does not cause crash due to uncaught exception.
- Loading branch information
Showing
3 changed files
with
27 additions
and
8 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
Submodule wsrep-lib
updated
9 files
| +10 −2 | .github/workflows/build.yml | |
| +6 −8 | CMakeLists.txt | |
| +19 −6 | dbsim/db_simulator.cpp | |
| +17 −5 | include/wsrep/reporter.hpp | |
| +9 −7 | include/wsrep/server_state.hpp | |
| +67 −7 | src/reporter.cpp | |
| +27 −4 | src/server_state.cpp | |
| +28 −9 | test/reporter_test.cpp | |
| +5 −6 | test/server_context_test.cpp |