Re: What do you do with a long running rollback - Mailing list pgsql-admin

From Tom Lane
Subject Re: What do you do with a long running rollback
Date
Msg-id 440098.1637952136@sss.pgh.pa.us
Whole thread Raw
In response to What do you do with a long running rollback  (Chris Cawley <cj_cawley@yahoo.com>)
Responses AW: What do you do with a long running rollback  ("Dischner, Anton" <Anton.Dischner@med.uni-muenchen.de>)
List pgsql-admin
Chris Cawley <cj_cawley@yahoo.com> writes:
> It's been like that for several days already.

Really?  Rollback is O(1) in Postgres.

I could possibly believe that it's blocked on a lock, but even
that would be a bug, because transaction abort should never try
to take any new locks.

A perhaps-more-plausible theory is that you've enabled synchronous
commit but your replica is failing to ack the transmission of the
abort's WAL record.

What are you looking at exactly?

            regards, tom lane



pgsql-admin by date:

Previous
From: Chris Cawley
Date:
Subject: What do you do with a long running rollback
Next
From: SQL Padawan
Date:
Subject: Re: Postgres-XL