Hello,
I have a setup of PXC with 2 nodes in aws, both in the save AZ with 0.168 ms lag.
My setup is Proxysql with 1 writer and 1 reader, with query routing.
When i insert 48k raw and run count right after i get 0 raw. if i add 430ms delay after the insert i can find the new raw in the reader node
Without sleep:
create table
fill members
filter members
Sunday 25th of February 2018 12:51:27 PM
no sleep
QUERY SELECT COUNT(member_id) count FROM tmp_auto_submit_1776
TOTAL FOUND 0
With 430ms sleep:
create table
fill members
filter members
Sunday 25th of February 2018 12:51:57 PM
430ms sleep
QUERY SELECT COUNT(member_id) count FROM tmp_auto_submit_1776
TOTAL FOUND 48064
wsrep_sync_wait value is 3 which improved the latency from 1 sec to 430ms.
Please advice
Thanks!