RE: BUG #16961: Could not access status of transaction

From: Stepan Yankevych <Stepan_Yankevych(at)epam(dot)com>
To: Stepan Yankevych <stepya(at)ukr(dot)net>, "sergii(dot)zhuravlev(at)smartnet(dot)ua" <sergii(dot)zhuravlev(at)smartnet(dot)ua>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Cc: "sergii(dot)zhuravlev(at)smartnet(dot)ua" <sergii(dot)zhuravlev(at)smartnet(dot)ua>
Subject: RE: BUG #16961: Could not access status of transaction
Date: 2021-04-19 18:49:15
Message-ID: VE1PR03MB531295B1BDCFE422441B15FD92499@VE1PR03MB5312.eurprd03.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The database was rebooted and the issue disappeared
Hopefully it was one time issue.

From: Stepan Yankevych <stepya(at)ukr(dot)net>
Sent: Wednesday, April 14, 2021 7:12 PM
To: sergii(dot)zhuravlev(at)smartnet(dot)ua; pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: sergii(dot)zhuravlev(at)smartnet(dot)ua
Subject: Re: BUG #16961: Could not access status of transaction

Hi Guys!

Let me clarify few things things about the issue.

The issue happening each morning when application starts on the production DataBase during about a month.
Always the same transaction id is mentioned in the error (1954017648)
We tried to do UNLISTEN - no changes. the same issue.
LISTEN works good for any other channels.

Can it be related to some hanged transaction? 1954017648? (for example while some network interruption)
Is it possible to kill/clean it somehow without DB restart?
Can it be related to some non-vacuumed system table or so?

Any other ideas?

Thanks!

--- Original message ---
From: "PG Bug reporting form" <noreply(at)postgresql(dot)org<mailto:noreply(at)postgresql(dot)org>>
Date: 13 April 2021, 18:50:26

The following bug has been logged on the website:

Bug reference: 16961

Logged by: Sergey Zhuravlev

Email address: sergii(dot)zhuravlev(at)smartnet(dot)ua<mailto:sergii(dot)zhuravlev(at)smartnet(dot)ua>

PostgreSQL version: 13.2

Operating system: CentOS Linux release 7.9.2009 (Core)

Description:

Hello

Command - LISTEN missed_trades_empty_instrument

"

ERROR: could not access status of transaction 1954017648

DETAIL: Could not open file "pg_xact/0747": No such file or directory.

STATEMENT: LISTEN missed_trades_empty_instrument

"

Current transaction

# select txid_current();

txid_current

--------------

6985716158

Parameter - autovacuum_freeze_max_age = 200000000

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2021-04-20 06:45:50 BUG #16972: parameter parallel_leader_participation's category problem
Previous Message PG Bug reporting form 2021-04-19 18:29:52 BUG #16971: Incompatible datalayout errors with llvmjit