Content
View differences
Updated by Cron Acronis over 10 years ago
Error message during massive inserts of work packages using multiple clients. `WEB_CONCURRENCY = 4`.
``ActiveRecord::StatementInvalid: Mysql2::Error: Deadlock found when trying to get lock; try restarting transaction: UPDATE `work_packages` SET root_id = 67179, `lft` = 1, `rgt` = 2 WHERE (id = 67179)``
`URL /api/v2/projects/4/planning_elements.json`
`ActiveRecord::StatementInvalid
Api::V2::PlanningElementsController
`
To see the error, click this link:
https://rpm.newrelic.com/accounts/1072740/applications/8225066/traced\_errors/7d8144-5ec87fd3-50c2-11e5-b82f-f8bc12425d4c
Standard installation of openproject-ce 4.2.6 on Ubuntu 14.04
``ActiveRecord::StatementInvalid: Mysql2::Error: Deadlock found when trying to get lock; try restarting transaction: UPDATE `work_packages` SET root_id = 67179, `lft` = 1, `rgt` = 2 WHERE (id = 67179)``
`URL /api/v2/projects/4/planning_elements.json`
`ActiveRecord::StatementInvalid
Api::V2::PlanningElementsController
`
To see the error, click this link:
https://rpm.newrelic.com/accounts/1072740/applications/8225066/traced\_errors/7d8144-5ec87fd3-50c2-11e5-b82f-f8bc12425d4c
Standard installation of openproject-ce 4.2.6 on Ubuntu 14.04