ActiveRecord::StatementInvalid in bundle/ruby/2.4.0/gems/activerecord-5.1.3/lib/active_record/connection_adapters/postgresql_adapter.rb:614
PG::QueryCanceled: ERROR: canceling statement due to statement timeout
CONTEXT: while locking tuple (9060,22) in relation "models"
: SELECT "models".* FROM "models" WHERE "models"."id" = $1 LIMIT $2 FOR NO KEY UPDATE
It is possible that because of timeouts in https://github.com/3scale/zync/issues/59 the job processing takes some time. Looks like the weak locking does not work properly and still can timeout.
Error in Zync
ActiveRecord::StatementInvalid in bundle/ruby/2.4.0/gems/activerecord-5.1.3/lib/active_record/connection_adapters/postgresql_adapter.rb:614 PG::QueryCanceled: ERROR: canceling statement due to statement timeout CONTEXT: while locking tuple (9060,22) in relation "models" : SELECT "models".* FROM "models" WHERE "models"."id" = $1 LIMIT $2 FOR NO KEY UPDATE
View on Bugsnag
Stacktrace
View full stacktrace
Created by 3scale via Bugsnag