[MXS-1727] Review reply_is_complete code in readwritesplit Created: 2018-03-20 Updated: 2019-04-15 Resolved: 2019-04-15 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | readwritesplit |
| Affects Version/s: | None |
| Fix Version/s: | 2.3.6 |
| Type: | Task | Priority: | Major |
| Reporter: | markus makela | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The resultset processing code is not very clear and reading the reply_is_complete function is not possible without reading the code in modutil_count_signal_packets. This code needs to be de-confused and possibly made into a generic mechanism of the protocol. |
| Comments |
| Comment by markus makela [ 2018-05-19 ] |
|
The odd behavior in modutil_count_signal_packets should not be needed if packets are processed one by one. This can be done by walking over all packets that are given to the routeQuery function. |