Re: bug on log generation ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Marcos Pegoraro <marcos(at)f10(dot)com(dot)br>, Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: bug on log generation ?
Date: 2022-08-08 14:32:22
Message-ID: 381259.1659969142@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> What platform is this on? Is it possible that on some platform the chunk
> size we're using is not doing an atomic write?

Another idea is that some of the write() calls are failing --- elog.c
doesn't check for that. Eyeing the POSIX spec for write(), I wonder
if somehow the pipe has gotten set into O_NONBLOCK mode and we're
not retrying EAGAIN failures.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2022-08-08 14:51:51 Re: Remaining case where reltuples can become distorted across multiple VACUUM operations
Previous Message Andrew Dunstan 2022-08-08 13:59:10 Re: bug on log generation ?