Debugging MySQL lock errors in Ruby on Rails
New week new bug to hunt down! A day after our last deployment at work, a new type of error started rising like a great wave. Random SQL update queries started failing at random with the following error: ActiveRecord::StatementInvalid: Mysql2::Error: Lock wait timeout exceeded; try restarting transaction: UPDATE users SET …
https://blog.kalina.tech/2019/07/debugging-mysql-lock-errors-in-ruby-on-rails.html
Post a comment