[MXS-4825] Use exceptions in readwritesplit Created: 2023-10-23 Updated: 2023-10-31 Resolved: 2023-10-31 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | readwritesplit |
| Affects Version/s: | None |
| Fix Version/s: | 24.02.0 |
| Type: | Task | Priority: | Major |
| Reporter: | markus makela | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | MXS-SPRINT-193 |
| Description |
|
The use of exceptions in readwritesplit allows MXS-4783 to be implemented either as a custom return value type or by throwing exceptions inside newSession. The exceptions also make it possible to consolidate all error handling functionality into a single place. |
| Comments |
| Comment by markus makela [ 2023-10-31 ] |
|
Readwritesplit now uses exceptions internally to handle fatal routing failures. |