percona-xtrabackup
percona-xtrabackup copied to clipboard
PXB-2809 wsrep_sync_wait<>0 causes Lock wait timeout exceeded; try re…
…starting transaction
https://jira.percona.com/browse/PXB-2809
Problem: wsrep_sync_wait<>0 causes Lock wait timeout exceeded; try restarting transaction
Fix: SET SESSION wsrep_sync_wait=0 right after connection to PXC
Hi @rahulmalik87, as mentioned by @altmannmarcelo in https://github.com/percona/percona-xtrabackup/pull/1370 the extra call to wsrep_causal_reads
must also be removed, because it is no longer supported in recent versions (and leads to an unrecoverable error).
Hi @rahulmalik87, as mentioned by @altmannmarcelo in #1370 the extra call to
wsrep_causal_reads
must also be removed, because it is no longer supported in recent versions (and leads to an unrecoverable error).
Thnak you @fraenki for the feedback. I have removed wsrep_casual_reads
from 8.0
@rahulmalik87 did we check if GR also has a similar configuration?
Also please ensure we can run this in any pxc_strict_mode (should not be an issue, but worth checking)
Thanks @altmannmarcelo for suggestion. I have added group-replication-consistency=EVENTUAL , which could help us to avoid lock wait.
@rahulmalik87 did we check if GR also has a similar configuration? Also please ensure we can run this in any pxc_strict_mode (should not be an issue, but worth checking)
Thanks @altmannmarcelo for suggestion. I have added group-replication-consistency=EVENTUAL , which could help us to avoid lock wait.
@rahulmalik87 Are you yet to update PR ? the changes about wserp_casual_reads and consistency=EVENTUAL are not yet visible.
@rahulmalik87 did we check if GR also has a similar configuration? Also please ensure we can run this in any pxc_strict_mode (should not be an issue, but worth checking)
Thanks @altmannmarcelo for suggestion. I have added group-replication-consistency=EVENTUAL , which could help us to avoid lock wait.
@rahulmalik87 Are you yet to update PR ? the changes about wserp_casual_reads and consistency=EVENTUAL are not yet visible.
That is only applicable for 8.0. https://github.com/percona/percona-xtrabackup/pull/1374