Defect #25996

ActiveRecord::StatementInvalid

Added by Jone Jone over 4 years ago. Updated over 3 years ago.

Status:Needs feedbackStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Database
Target version:-
Resolution: Affected version:3.2.6

Description

I use nginx server.
log:
Completed 500 Internal Server Error in 51113ms (ActiveRecord: 51068.8ms)

ActiveRecord::StatementInvalid (Mysql2::Error: Lock wait timeout exceeded; try restarting transaction: UPDATE `issues` SET `issues`.`status_id` = 3, `issues`.`updated_on` = '2017-05-18 11:02:23', `issues`.`lock_version` = 2 WHERE `issues`.`id` = 21991 AND `issues`.`lock_version` = 1):
app/models/issue.rb:182:in `create_or_update'
app/controllers/issues_controller.rb:499:in `block in save_issue_with_child_records'
app/controllers/issues_controller.rb:487:in `save_issue_with_child_records'
app/controllers/issues_controller.rb:185:in `update'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'

History

#1 Updated by Toshi MARUYAMA over 4 years ago

  • Status changed from New to Needs feedback

Please see submissions.

Also available in: Atom PDF