Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
21.06.18, 22.08.15, 23.02.12, 23.08.8, 24.02.4, 25.01.1
-
None
Description
The trailing part of a large packet gets routed as if it was a normal packet. This cause the next read to hang if it gets routed to a replica. This also affects the MariaDB backend protocol module where the queued packets aren't handled correctly if the first queued packet is a COM_STMT_PREPARE.
This is because the route target is unconditionally set to TARGET_LAST_USED which causes it to not end up in handle_target_is_all().