Unfortunately Err1317 can't be entirely avoided in multimaster Galera
operation and sysbench just can't stand it (it should rollback and start
over). There is nothing except decreasing the concurrency (increasing
the number of rows and decreasing the number of threads) that can help
here.
On 2013-03-26 18:14, Sebastien Lefevre wrote:
> hi,
> i have a similar problem but the "oltp-auto-inc=off" dit not solve
> it.
> i have a 3 nodes galera cluster. sysbench 0.4.12 on debian.
>
> Prepare bench:
> sysbench --db-driver=mysql --num-threads=32 --max-time=300
> --max-requests=500000 --mysql-user=appuser --mysql-host=10.xx.xx.xx
> --mysql-port=33306 --mysql-password='xxxxxxxxx' --oltp-auto-inc=off
> --test=oltp --oltp-test-mode=complex --oltp-table-size=5000000
> --mysql-table-engine=innodb prepare
>
> Run bench:
> sysbench --db-driver=mysql --num-threads=32 --max-time=300
> --max-requests=500000 --mysql-user=appuser --mysql-host=10.xx.xx.xx
> --mysql-port=33306 --mysql-password='xxxxxxxxx' --oltp-auto-inc=off
> --test=oltp --oltp-test-mode=complex --oltp-table-size=5000000
> --mysql-table-engine=innodb run
>
> error messages:
> ALERT: failed to execute mysql_stmt_execute(): Err1317 Query
> execution was
> interrupted
> or
> ALERT: failed to execute mysql_stmt_execute(): Err1062 Duplicate
> entry
> '2481816' for key 'PRIMARY'
>
>
> the option "mysql-ignore-duplicates" is unkown
>
> thank for your help.
>
> sebastien
--
Alexey Yurchenko,
Codership Oy,
www.codership.com
Skype: alexey.yurchenko, Phone: +358-400-516-011