Skip to content

org.postgresql.util.PSQLException: ERROR: deadlock detected #250

@catmeme

Description

@catmeme

Been getting a "deadlock detected" every few days.

I'm not entirely sure what's causing it. For what it's worth, this instance is receiving international statements, not English only.

21:39:52.116 [qtp195949131-13] WARN  lrsql.util.concurrency - Rerunable Transaction exhausted attempts or could not be retried
21:39:52.127 [qtp195949131-13] ERROR c.y.lrs.pedestal.interceptor - {:msg "Unhandled LRS Error", :line 244}
org.postgresql.util.PSQLException: ERROR: deadlock detected
  Detail: Process 27183 waits for ShareLock on transaction 6055610; blocked by process 21912.
Process 21912 waits for ShareLock on transaction 6055623; blocked by process 27183.
  Hint: See server log for query details.
  Where: while updating tuple (137,12) in relation "activity"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions