mirror of https://github.com/sysown/proxysql
In the extended query protocol flow (Parse/Bind/Execute/Sync messages), queries without matching query rules were incorrectly retaining the current_hostgroup value from the previous query instead of being reset to the default_hostgroup.
This happened because:
- Simple query protocol goes through STATE_SLEEP between queries, which
resets current_hostgroup to default_hostgroup
- Extended query protocol does NOT go through STATE_SLEEP between
Parse/Bind/Execute messages, so current_hostgroup was never reset
pull/5388/head
parent
28b1114cd9
commit
1b3d20388e
Loading…
Reference in new issue