Project

General

Profile

Actions

Defect #25996

closed

ActiveRecord::StatementInvalid

Added by Jone Jone almost 7 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Database
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
No feedback
Affected version:

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'

Actions #1

Updated by Toshi MARUYAMA almost 7 years ago

  • Status changed from New to Needs feedback

Please see submissions.

Actions #2

Updated by Go MAEDA 11 months ago

  • Status changed from Needs feedback to Closed
  • Resolution set to No feedback
Actions

Also available in: Atom PDF