Re: max_worker_processes on the standby

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: oonishitk(at)nttdata(dot)co(dot)jp, pgsql-docs <pgsql-docs(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: max_worker_processes on the standby
Date: 2015-10-01 10:46:04
Message-ID: CAHGQGwHRXGqSYoUf+aTf0icMq8Or6oBcEN+Y=2cZ4wLW_5acHw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

On Thu, Oct 1, 2015 at 7:48 AM, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> wrote:
> oonishitk(at)nttdata(dot)co(dot)jp wrote:
>
>> The below error messages were shown in standby server log:
>>
>> FATAL: could not access status of transaction 9009
>> DETAIL: Could not read from file "pg_commit_ts/0000" at offset 90112: Success.
>> CONTEXT: xlog redo Transaction/COMMIT: 2015-09-30 15:52:41.924141+09
>> LOG: startup process (PID 23199) exited with exit code 1
>> LOG: terminating any other active server processes
>>
>> Before this FATAL, there were some INFO but annoying messages:
>>
>> LOG: file "pg_commit_ts/0000" doesn't exist, reading as zeroes
>
> Here's a patch.

I've not read the patch yet, but the patched server with track_commit_timestamp
enabled caused the following PANIC error when I ran pgbench.

PANIC: could not access status of transaction 2457
DETAIL: Could not read from file "pg_commit_ts/0000" at offset 24576: Success.
STATEMENT: END;

The procedure to reproduce the PANIC error is,

1. Enable track_commit_timestamp
2. Start up the server
3. Run pgbench -i -s10
4. Run pgbench -j 4 -c 4 -T 30

Regards,

--
Fujii Masao

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Fujii Masao 2015-10-01 14:14:30 Re: storage.sgml mentioning htup.h when referring to HeapTupleHeaderData
Previous Message oonishitk 2015-10-01 04:01:00 Re: max_worker_processes on the standby

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2015-10-01 10:53:22 Re: ON CONFLICT issues around whole row vars,
Previous Message Andres Freund 2015-10-01 10:42:03 Re: ON CONFLICT issues around whole row vars,