we use percona cluster 5.7.20 my wsrep configuration.
max_connections = 10000
open_files_limit = 32768
wsrep_sync_wait=1
wsrep_causal_reads=ON
sql_mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
wsrep_provider_options="pc.ignore_quorum=true;pc.ignore_sb=true;gcache.size=2G; gcache.page_size=1G;gcs.fc_limit = 256; gcs.fc_factor = 0.99;"
wsrep_slave_threads=32
[sst]
inno-apply-opts="--use-memory=8G"
compressor="pigz"
decompressor="pigz -d"
i did a test for sync replication via php 7 test code. https://github.com/ureyni/percona_replicationtest
insert value to node1 with a transaction. after execute commit, do a select query with some value on node2 if data not found, query exec on node3.
the test was not successful.
why? I don't understand because all documents on the internet say it's synchronous.
please help.