Quantcast
Channel: MySQL Forums - NDB clusters
Viewing all articles
Browse latest Browse all 1560

Error : Lock wait timeout exceeded; try restarting transaction (no replies)

$
0
0
Hello,
My application try to update one column with this mysql statement:

UPDATE e_user
SET credit = credit - 0.009000
WHERE username = 'abc' AND credit >= 0.009000

Sometimes after the update i get this error:

Lock wait timeout exceeded; try restarting transaction

After searching about this issue i try to set this parameter to mysql cluster

TransactionDeadlockDetectionTimeout=10000
HeartbeatIntervalDbDb=3000
HeartbeatIntervalDbApi=3000

and the error is the same.

What can i do for this?

Viewing all articles
Browse latest Browse all 1560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>