Further investigation revealed that there actually is a bug which causes wsrep_causal_reads to be ignored for SHOW CREATE TABLE and some other queries, therefore simply setting 'wsrep_causal_reads=1' didn't have desired effect in tests which use SHOW CREATE TABLE result. The patch above worked around this, but on the other hand it might be too much as it may mask out some real bugs. Better approach would probably be giving param
Further investigation revealed that there actually is a bug which causes wsrep_causal_reads to be ignored for SHOW CREATE TABLE and some other queries, therefore simply setting 'wsrep_ causal_ reads=1' didn't have desired effect in tests which use SHOW CREATE TABLE result. The patch above worked around this, but on the other hand it might be too much as it may mask out some real bugs. Better approach would probably be giving param
init_command = 'SET wsrep_causal_ reads=1'
for MySQLdb.connect() call.