Re: Dead lock after the migration from CentOS 7 to RHEL 9 - Mailing list pgsql-admin

From David G. Johnston
Subject Re: Dead lock after the migration from CentOS 7 to RHEL 9
Date
Msg-id CAKFQuwbHt_56dOP-Fjtaj2C9KVJN14-L9LrDUf5AeWyW21g7KQ@mail.gmail.com
Whole thread Raw
In response to Fwd: Dead lock after the migration from CentOS 7 to RHEL 9  (Wasim Devale <wasimd60@gmail.com>)
Responses Re: Dead lock after the migration from CentOS 7 to RHEL 9
List pgsql-admin
On Wednesday, August 14, 2024, Wasim Devale <wasimd60@gmail.com> wrote:
Hi please help me with the below email.

---------- Forwarded message ---------
From: Wasim Devale <wasimd60@gmail.com>
Date: Wed, 14 Aug, 2024, 11:09 am
Subject: Dead lock after the migration from CentOS 7 to RHEL 9
To: Pgsql-admin <pgsql-admin@lists.postgresql.org>, pgsql-admin <pgsql-admin@postgresql.org>


Hi All

I am facing this issue while reindexing after migration. I analysed the application holding the particular table. I stopped the application and reindexed it. It went well then again I am facing this issue below.

ERROR: deadlock detected

DETAIL: Process 2197043 waits for AccessExclusiveLock on relation 10384355 of database 10163711; blocked by process 1889236.

Process 1889236 waits for RowExclusiveLock on relation 10168609 of database 10163711; blocked by process 2197043.

HINT: See server log for query details.


How are we supposed to help; you have the indicated log files, and application code, not us. It’s a bug in your code.  And you haven’t asked any question that could be answered.

David J.

pgsql-admin by date:

Previous
From: Wasim Devale
Date:
Subject: Fwd: Dead lock after the migration from CentOS 7 to RHEL 9
Next
From: Wasim Devale
Date:
Subject: Re: Dead lock after the migration from CentOS 7 to RHEL 9