Here is my production log (INFO entries deleted). Maybe the deadlock is my problem?
Zusammenfassung
E, [2024-07-08T07:35:58.475439#2555-148980] ERROR -- : Couldn't find OnlineNotification with 'id'=447907 (ActiveRecord::RecordNotFound)
app/policies/controllers/online_notifications_controller_policy.rb:20:in `own?'
app/policies/controllers/online_notifications_controller_policy.rb:14:in `destroy?'
app/controllers/application_controller/authorizes.rb:10:in `authorize!'
app/controllers/online_notifications_controller.rb:4:in `block in <class:OnlineNotificationsController>'
app/controllers/sessions_controller.rb:35:in `rescue in create'
app/controllers/sessions_controller.rb:19:in `create'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
app/controllers/application_controller/authenticates.rb:19:in `authentication_check'
app/controllers/application_controller/authenticates.rb:143:in `authenticate_and_authorize!'
app/controllers/application_controller/authenticates.rb:19:in `authentication_check'
app/controllers/application_controller/authenticates.rb:143:in `authenticate_and_authorize!'
app/controllers/application_controller/authenticates.rb:19:in `authentication_check'
app/controllers/application_controller/authenticates.rb:143:in `authenticate_and_authorize!'
app/controllers/application_controller/authenticates.rb:19:in `authentication_check'
app/controllers/application_controller/authenticates.rb:143:in `authenticate_and_authorize!'
app/controllers/application_controller/authenticates.rb:19:in `authentication_check'
app/controllers/application_controller/authenticates.rb:143:in `authenticate_and_authorize!'
W, [2024-07-08T07:40:20.262463#2558-150020] WARN -- : Scoped order is ignored, it's forced to be batch order.app/controllers/sessions_controller.rb:35:in `rescue in create'
app/controllers/sessions_controller.rb:19:in `create'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
E, [2024-07-08T07:45:23.488905#2553-150020] ERROR -- : Couldn't find Ticket with 'id'=1 (ActiveRecord::RecordNotFound)
app/controllers/tickets_controller.rb:50:in `show'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
W, [2024-07-08T07:45:57.045067#2558-150020] WARN -- : Scoped order is ignored, it's forced to be batch order.
W, [2024-07-08T08:23:21.205363#2548-148980] WARN -- : Scoped order is ignored, it's forced to be batch order.W, [2024-07-08T08:25:19.004104#2558-148980] WARN -- : Scoped order is ignored, it's forced to be batch order.W, [2024-07-08T08:26:26.635602#2632-11298940] WARN -- : Scoped order is ignored, it's forced to be batch order.
app/controllers/application_controller/authenticates.rb:19:in `authentication_check'
app/controllers/application_controller/authenticates.rb:19:in `authentication_check'W, [2024-07-08T08:27:03.016823#2548-150120] WARN -- : Scoped order is ignored, it's forced to be batch order.
app/controllers/sessions_controller.rb:35:in `rescue in create'
app/controllers/sessions_controller.rb:19:in `create'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
app/controllers/sessions_controller.rb:35:in `rescue in create'
app/controllers/sessions_controller.rb:19:in `create'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
E, [2024-07-08T08:35:23.643966#2550-151300] ERROR -- : Couldn't find Taskbar with 'id'=374451 (ActiveRecord::RecordNotFound)
app/policies/controllers/taskbar_controller_policy.rb:27:in `own?'
app/policies/controllers/taskbar_controller_policy.rb:21:in `destroy?'
app/controllers/application_controller/authorizes.rb:10:in `authorize!'
app/controllers/application_controller/authenticates.rb:143:in `authenticate_and_authorize!'W, [2024-07-08T08:45:50.193031#2558-151060] WARN -- : Scoped order is ignored, it's forced to be batch order.
W, [2024-07-08T08:47:12.992259#2547-148980] WARN -- : Scoped order is ignored, it's forced to be batch order.
E, [2024-07-08T08:49:39.947038#2632-13334860] ERROR -- : missing session value for '361520', removing session.
W, [2024-07-08T08:50:39.863476#2555-148980] WARN -- : Scoped order is ignored, it's forced to be batch order.
E, [2024-07-08T09:00:48.076575#2632-13540720] ERROR -- : missing session value for '379560', removing session.
E, [2024-07-08T09:06:13.162263#2632-13705040] ERROR -- : missing session value for '390380', removing session.W, [2024-07-08T09:16:43.325287#2548-151320] WARN -- : Scoped order is ignored, it's forced to be batch order.
W, [2024-07-08T09:26:26.970199#2632-14098180] WARN -- : Scoped order is ignored, it's forced to be batch order.app/controllers/sessions_controller.rb:35:in `rescue in create'
app/controllers/sessions_controller.rb:19:in `create'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
app/controllers/sessions_controller.rb:35:in `rescue in create'
app/controllers/sessions_controller.rb:19:in `create'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
W, [2024-07-08T09:37:46.227697#2547-149420] WARN -- : Scoped order is ignored, it's forced to be batch order.W, [2024-07-08T09:58:42.453104#2548-152100] WARN -- : Scoped order is ignored, it's forced to be batch order.
E, [2024-07-08T10:12:11.544543#2553-150200] ERROR -- : PG::TRDeadlockDetected: ERROR: deadlock detected
DETAIL: Process 129053 waits for ShareLock on transaction 330200397; blocked by process 112158.
Process 112158 waits for ShareLock on transaction 330200396; blocked by process 129053.
HINT: See server log for query details.
CONTEXT: while locking tuple (53,20) in relation "taskbars"
(ActiveRecord::Deadlocked)
config/initializers/active_record_lock_issue_3664.rb:31:in `lock!'
app/models/taskbar.rb:142:in `block in update_related_taskbars'
app/models/taskbar.rb:141:in `update_related_taskbars'
app/controllers/application_controller/renders_models.rb:62:in `block in model_update_render'
app/controllers/application_controller/renders_models.rb:56:in `model_update_render'
app/controllers/taskbar_controller.rb:22:in `update'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
E, [2024-07-08T10:12:11.550762#2553-150200] ERROR -- : Error ID Ej6Kpx_l: PG::TRDeadlockDetected: ERROR: deadlock detected
DETAIL: Process 129053 waits for ShareLock on transaction 330200397; blocked by process 112158.
Process 112158 waits for ShareLock on transaction 330200396; blocked by process 129053.
HINT: See server log for query details.
CONTEXT: while locking tuple (53,20) in relation "taskbars"
E, [2024-07-08T10:12:12.544095#2558-151060] ERROR -- : PG::TRDeadlockDetected: ERROR: deadlock detected
DETAIL: Process 118467 waits for ShareLock on transaction 330200397; blocked by process 112158.
Process 112158 waits for ShareLock on transaction 330200398; blocked by process 118467.
HINT: See server log for query details.
CONTEXT: while locking tuple (53,20) in relation "taskbars"
(ActiveRecord::Deadlocked)
config/initializers/active_record_lock_issue_3664.rb:31:in `lock!'
app/models/taskbar.rb:142:in `block in update_related_taskbars'
app/models/taskbar.rb:141:in `update_related_taskbars'
app/controllers/application_controller/renders_models.rb:62:in `block in model_update_render'
app/controllers/application_controller/renders_models.rb:56:in `model_update_render'
app/controllers/taskbar_controller.rb:22:in `update'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
E, [2024-07-08T10:12:40.145343#2553-149920] ERROR -- : PG::TRDeadlockDetected: ERROR: deadlock detected
DETAIL: Process 122729 waits for ShareLock on transaction 330200546; blocked by process 112158.
Process 112158 waits for ShareLock on transaction 330200545; blocked by process 122729.
HINT: See server log for query details.
CONTEXT: while locking tuple (52,25) in relation "taskbars"
(ActiveRecord::Deadlocked)
config/initializers/active_record_lock_issue_3664.rb:31:in `lock!'
app/models/taskbar.rb:142:in `block in update_related_taskbars'
app/models/taskbar.rb:141:in `update_related_taskbars'
app/controllers/application_controller/renders_models.rb:62:in `block in model_update_render'
app/controllers/application_controller/renders_models.rb:56:in `model_update_render'
app/controllers/taskbar_controller.rb:22:in `update'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
E, [2024-07-08T10:12:40.166355#2553-149920] ERROR -- : Error ID wXxyYz8g: PG::TRDeadlockDetected: ERROR: deadlock detected
DETAIL: Process 122729 waits for ShareLock on transaction 330200546; blocked by process 112158.
Process 112158 waits for ShareLock on transaction 330200545; blocked by process 122729.
HINT: See server log for query details.
CONTEXT: while locking tuple (52,25) in relation "taskbars"
W, [2024-07-08T10:13:33.179332#2553-149920] WARN -- : Scoped order is ignored, it's forced to be batch order.
E, [2024-07-08T10:18:42.045692#2550-149380] ERROR -- : missing session value for '530520', removing session.E, [2024-07-08T10:25:13.934888#2548-150120] ERROR -- : PG::TRDeadlockDetected: ERROR: deadlock detected
DETAIL: Process 114257 waits for ShareLock on transaction 330203233; blocked by process 135305.
Process 135305 waits for ShareLock on transaction 330203232; blocked by process 114257.
HINT: See server log for query details.
CONTEXT: while locking tuple (30,12) in relation "taskbars"
(ActiveRecord::Deadlocked)
config/initializers/active_record_lock_issue_3664.rb:31:in `lock!'
app/models/taskbar.rb:142:in `block in update_related_taskbars'
app/models/taskbar.rb:141:in `update_related_taskbars'
app/controllers/application_controller/renders_models.rb:62:in `block in model_update_render'
app/controllers/application_controller/renders_models.rb:56:in `model_update_render'
app/controllers/taskbar_controller.rb:22:in `update'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
E, [2024-07-08T10:25:13.959522#2548-150120] ERROR -- : Error ID 51QEBcrz: PG::TRDeadlockDetected: ERROR: deadlock detected
DETAIL: Process 114257 waits for ShareLock on transaction 330203233; blocked by process 135305.
Process 135305 waits for ShareLock on transaction 330203232; blocked by process 114257.
HINT: See server log for query details.
CONTEXT: while locking tuple (30,12) in relation "taskbars"
W, [2024-07-08T10:26:34.288429#2632-16775140] WARN -- : Scoped order is ignored, it's forced to be batch order.W, [2024-07-08T10:46:25.070754#2555-150840] WARN -- : Scoped order is ignored, it's forced to be batch order.
E, [2024-07-08T11:06:25.278959#2553-150020] ERROR -- : Couldn't find OnlineNotification with 'id'=448219 (ActiveRecord::RecordNotFound)
app/policies/controllers/online_notifications_controller_policy.rb:20:in `own?'
app/policies/controllers/online_notifications_controller_policy.rb:14:in `destroy?'
app/controllers/application_controller/authorizes.rb:10:in `authorize!'
app/controllers/online_notifications_controller.rb:4:in `block in <class:OnlineNotificationsController>'
E, [2024-07-08T11:14:15.405830#2632-19201880] ERROR -- : missing session value for '622100', removing session.
W, [2024-07-08T11:25:47.951541#2558-149440] WARN -- : Scoped order is ignored, it's forced to be batch order.
app/controllers/sessions_controller.rb:35:in `rescue in create'
app/controllers/sessions_controller.rb:19:in `create'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'app/controllers/sessions_controller.rb:35:in `rescue in create'
app/controllers/sessions_controller.rb:19:in `create'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'app/controllers/sessions_controller.rb:35:in `rescue in create'
app/controllers/sessions_controller.rb:19:in `create'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
W, [2024-07-08T11:26:37.642198#2632-19573060] WARN -- : Scoped order is ignored, it's forced to be batch order.
app/controllers/sessions_controller.rb:35:in `rescue in create'
app/controllers/sessions_controller.rb:19:in `create'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
app/controllers/sessions_controller.rb:35:in `rescue in create'
app/controllers/sessions_controller.rb:19:in `create'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
app/controllers/sessions_controller.rb:35:in `rescue in create'
app/controllers/sessions_controller.rb:19:in `create'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
E, [2024-07-08T11:43:00.680021#2555-150360] ERROR -- : PG::TRDeadlockDetected: ERROR: deadlock detected
DETAIL: Process 159081 waits for ShareLock on transaction 330234232; blocked by process 159080.
Process 159080 waits for ShareLock on transaction 330234231; blocked by process 159081.
HINT: See server log for query details.
CONTEXT: while locking tuple (61,11) in relation "taskbars"
(ActiveRecord::Deadlocked)
config/initializers/active_record_lock_issue_3664.rb:31:in `lock!'
app/models/taskbar.rb:142:in `block in update_related_taskbars'
app/models/taskbar.rb:141:in `update_related_taskbars'
app/controllers/application_controller/renders_models.rb:62:in `block in model_update_render'
app/controllers/application_controller/renders_models.rb:56:in `model_update_render'
app/controllers/taskbar_controller.rb:22:in `update'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
E, [2024-07-08T11:43:00.702975#2555-150360] ERROR -- : Error ID fd41O73c: PG::TRDeadlockDetected: ERROR: deadlock detected
DETAIL: Process 159081 waits for ShareLock on transaction 330234232; blocked by process 159080.
Process 159080 waits for ShareLock on transaction 330234231; blocked by process 159081.
HINT: See server log for query details.
CONTEXT: while locking tuple (61,11) in relation "taskbars"E, [2024-07-08T11:46:05.718417#2558-149440] ERROR -- : PG::TRDeadlockDetected: ERROR: deadlock detected
DETAIL: Process 159080 waits for ShareLock on transaction 330235313; blocked by process 163261.
Process 163261 waits for ShareLock on transaction 330235317; blocked by process 159080.
HINT: See server log for query details.
CONTEXT: while locking tuple (60,5) in relation "taskbars"
(ActiveRecord::Deadlocked)
config/initializers/active_record_lock_issue_3664.rb:31:in `lock!'
app/models/taskbar.rb:142:in `block in update_related_taskbars'
app/models/taskbar.rb:141:in `update_related_taskbars'
app/controllers/application_controller/renders_models.rb:62:in `block in model_update_render'
app/controllers/application_controller/renders_models.rb:56:in `model_update_render'
app/controllers/taskbar_controller.rb:22:in `update'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
E, [2024-07-08T11:46:05.724813#2558-149440] ERROR -- : Error ID m5nsxguC: PG::TRDeadlockDetected: ERROR: deadlock detected
DETAIL: Process 159080 waits for ShareLock on transaction 330235313; blocked by process 163261.
Process 163261 waits for ShareLock on transaction 330235317; blocked by process 159080.
HINT: See server log for query details.
CONTEXT: while locking tuple (60,5) in relation "taskbars"app/controllers/application_controller/authenticates.rb:19:in `authentication_check'
app/controllers/application_controller/authenticates.rb:19:in `authentication_check'
app/controllers/application_controller/authenticates.rb:19:in `authentication_check'
app/controllers/application_controller/authenticates.rb:19:in `authentication_check'
app/controllers/application_controller/authenticates.rb:19:in `authentication_check'
app/controllers/application_controller/authenticates.rb:19:in `authentication_check'
W, [2024-07-08T11:55:13.710942#2548-151320] WARN -- : Scoped order is ignored, it's forced to be batch order.
W, [2024-07-08T12:03:19.362157#2555-148980] WARN -- : Scoped order is ignored, it's forced to be batch order.
E, [2024-07-08T12:22:15.894839#2632-149260] ERROR -- : missing session value for '760940', removing session.
E, [2024-07-08T12:22:15.955568#2632-149260] ERROR -- : missing session value for '768520', removing session.W, [2024-07-08T12:26:47.020333#2632-22231720] WARN -- : Scoped order is ignored, it's forced to be batch order.
W, [2024-07-08T12:31:10.697200#2550-148980] WARN -- : Scoped order is ignored, it's forced to be batch order.
app/controllers/sessions_controller.rb:35:in `rescue in create'
app/controllers/sessions_controller.rb:19:in `create'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
W, [2024-07-08T12:38:26.552789#2548-152100] WARN -- : Scoped order is ignored, it's forced to be batch order.
W, [2024-07-08T12:54:29.906786#2558-148980] WARN -- : Scoped order is ignored, it's forced to be batch order.E, [2024-07-08T13:05:29.876966#2632-24500940] ERROR -- : missing session value for '842500', removing session.
W, [2024-07-08T13:26:56.778343#2632-24892060] WARN -- : Scoped order is ignored, it's forced to be batch order.E, [2024-07-08T14:23:55.565713#2550-148980] ERROR -- : missing session value for '973560', removing session.W, [2024-07-08T14:27:06.734143#2632-27671640] WARN -- : Scoped order is ignored, it's forced to be batch order.
E, [2024-07-08T14:27:15.591086#2632-27671640] ERROR -- : missing session value for '980800', removing session.
E, [2024-07-08T14:45:36.346411#2632-29524300] ERROR -- : missing session value for '1016000', removing session.W, [2024-07-08T15:27:16.723296#2632-30318800] WARN -- : Scoped order is ignored, it's forced to be batch order.app/controllers/application_controller/authorizes.rb:10:in `authorize!'
app/controllers/tickets_controller.rb:51:in `show'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
app/controllers/application_controller/authorizes.rb:10:in `authorize!'
app/controllers/tickets_controller.rb:51:in `show'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
app/controllers/application_controller/authorizes.rb:10:in `authorize!'
app/controllers/tickets_controller.rb:51:in `show'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'E, [2024-07-08T15:34:58.396310#2555-150360] ERROR -- : Couldn't find Ticket with 'id'=47358 (ActiveRecord::RecordNotFound)
app/controllers/tickets_controller.rb:50:in `show'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
E, [2024-07-08T15:38:41.226933#2558-150020] ERROR -- : PG::TRDeadlockDetected: ERROR: deadlock detected
DETAIL: Process 243079 waits for ShareLock on transaction 330317125; blocked by process 240066.
Process 240066 waits for ShareLock on transaction 330317124; blocked by process 243079.
HINT: See server log for query details.
CONTEXT: while locking tuple (12,24) in relation "taskbars"
(ActiveRecord::Deadlocked)
config/initializers/active_record_lock_issue_3664.rb:31:in `lock!'
app/models/taskbar.rb:142:in `block in update_related_taskbars'
app/models/taskbar.rb:141:in `update_related_taskbars'
app/controllers/application_controller/renders_models.rb:62:in `block in model_update_render'
app/controllers/application_controller/renders_models.rb:56:in `model_update_render'
app/controllers/taskbar_controller.rb:22:in `update'
app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:16:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
E, [2024-07-08T15:38:41.242735#2558-150020] ERROR -- : Error ID VHnwMw7m: PG::TRDeadlockDetected: ERROR: deadlock detected
DETAIL: Process 243079 waits for ShareLock on transaction 330317125; blocked by process 240066.
Process 240066 waits for ShareLock on transaction 330317124; blocked by process 243079.
HINT: See server log for query details.
CONTEXT: while locking tuple (12,24) in relation "taskbars"
W, [2024-07-08T15:59:55.069911#2548-151320] WARN -- : Scoped order is ignored, it's forced to be batch order.
W, [2024-07-08T16:27:26.256054#2632-33101280] WARN -- : Scoped order is ignored, it's forced to be batch order.
W, [2024-07-08T17:27:35.983011#2632-35717480] WARN -- : Scoped order is ignored, it's forced to be batch order.
W, [2024-07-08T18:27:44.694928#2632-38366800] WARN -- : Scoped order is ignored, it's forced to be batch order.
app/controllers/application_controller/authenticates.rb:19:in `authentication_check'
app/controllers/application_controller/authenticates.rb:19:in `authentication_check'
app/controllers/application_controller/authenticates.rb:19:in `authentication_check'