pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Noah Misch <noah@leadboat.com>
Cc: Andrey Borodin <x4mmm@yandex-team.ru>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Peter Geoghegan <pg@bowt.ie>
Cc: Andres Freund <andres@anarazel.de>
Subject: Re: conchuela timeouts since 2021-10-09 system upgrade
Date: Fri, 19 Nov 2021 09:56:31 -0500
Message-ID: <3042722.1637333791@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+hUKGJZfL5jBQfoRLw+F95yeiLbwb2SDrvrq8teqRLKbsUwEw@mail.gmail.com>
References: <640FA6DC-A998-4499-B3B4-2773685B8C56@yandex-team.ru>
	<20211029025600.GB298507@rfd.leadboat.com>
	<20211110041541.GA971565@rfd.leadboat.com>
	<4C43D751-8E0B-478D-B358-7C52BB5AFDAA@yandex-team.ru>
	<633901636829263@sas1-7f179212b74f.qloud-c.yandex.net>
	<20211114000952.GA1117894@rfd.leadboat.com>
	<0CD98EB5-71AC-4D84-BC90-93674B6330F4@yandex-team.ru>
	<CA+hUKGJHA24SFAQureqf0EodkXv0W0hAZybcU9OpZAp3O2uegQ@mail.gmail.com>
	<CA+hUKG+jTMdxkyZJbUGyG7ggFKABWsBwSxSzLNVm-X87DeLfqg@mail.gmail.com>
	<CA+hUKG+UZi3tp=e0ffO1R7eZ=x8azSJDNzO0E2zOy9PhuyOpAQ@mail.gmail.com>
	<20211119061325.GA1337598@rfd.leadboat.com>
	<CA+hUKGJZfL5jBQfoRLw+F95yeiLbwb2SDrvrq8teqRLKbsUwEw@mail.gmail.com>

Thomas Munro <thomas.munro@gmail.com> writes:
> On Fri, Nov 19, 2021 at 7:13 PM Noah Misch <noah@leadboat.com> wrote:
>> Looks like optimal material for a kernel bug report.  Excellent discovery.

> https://bugs.dragonflybsd.org/issues/3307

I see they're pushing back on whether this is a bug.  I failed to find a
way to quickly comment on the bug report, but I suggest you quote POSIX
select(2) at them:

    A descriptor shall be considered ready for reading when a call to an
    input function with O_NONBLOCK clear would not block, whether or not
    the function would transfer data successfully. (The function might
    return data, an end-of-file indication, or an error other than one
    indicating that it is blocked, and in each of these cases the
    descriptor shall be considered ready for reading.)

    A descriptor shall be considered ready for writing when a call to an
    output function with O_NONBLOCK clear would not block, whether or not
    the function would transfer data successfully.

I don't know whether it'd help to point out that the test program works
as expected on other BSDen.  (I'm planning to go try it on a few more
platforms in a bit, but in any case the standards-compliance question
looks pretty open-and-shut to me.)

			regards, tom lane





view thread (40+ messages)  latest in thread

Message-ID: <3042722.1637333791@sss.pgh.pa.us>
Permalink:  ../3042722.1637333791@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3042722.1637333791@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, thomas.munro@gmail.com, noah@leadboat.com, x4mmm@yandex-team.ru, pgsql-bugs@lists.postgresql.org, michael@paquier.xyz, pg@bowt.ie, andres@anarazel.de
  Subject: Re: conchuela timeouts since 2021-10-09 system upgrade
  In-Reply-To: <3042722.1637333791@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox