[asterisk-bugs] [JIRA] (ASTERISK-26633) res_odbc: SQL Execute returned "Deadlock found when trying to get lock; try restarting transaction"
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Wed Jan 25 11:53:10 CST 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-26633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rusty Newton closed ASTERISK-26633.
-----------------------------------
Resolution: Suspended
Thanks for the follow up. I'm going to close this out and recommend that you pursue the issue with the MySQL/innodb team then and see what they recommend. If they don't think it is a bug and point out some problem with Asterisk behavior then hopefully with their specific recommendation we could track something down.
> res_odbc: SQL Execute returned "Deadlock found when trying to get lock; try restarting transaction"
> ---------------------------------------------------------------------------------------------------
>
> Key: ASTERISK-26633
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-26633
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_odbc
> Affects Versions: 13.13.0
> Environment: Debian 8 64 bits + Mysql
> Reporter: wushumasters
> Assignee: Unassigned
> Attachments: debug, debug_complete, debug_odbc2.3.4, extconfig.conf, extensions.conf, full.log, odbc.ini, odbcinst.ini, queues.conf, res_odbc.conf, sqlerror.log
>
>
> Hello,
> If i settings my queues to "ringall" and receive many calls i start to had this message from mysql
> {noformat}
> [2016-11-30 15:50:26] WARNING[12027][C-00001731] res_odbc.c: SQL Execute returned an error: HY000: [MySQL][ODBC 5.1 Driver][mysqld-5.5.52-0+deb8u1-log]Deadlock found when trying to get lock; try restarting transaction
> [2016-11-30 15:50:26] WARNING[12027][C-00001731] res_odbc.c: SQL Execute error -1!
> {noformat}
> I attached a log where this only happens when a agent not answer a call and the app write in the queue_log RINGNOANSWER
> Sorry my english
> Thanks
> Now i can reproduce the issue (Set a Queue with ringall strategy, put 4 peers and set autofill = yes, after this call to the queue 4 times and them when the peers was ringing execute "hangup request all")
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list