Re: LDAP check flapping on crake due to race

Поиск
Список
Период
Сортировка
От Noah Misch
Тема Re: LDAP check flapping on crake due to race
Дата
Msg-id 20200802061048.GA2207@rfd.leadboat.com
обсуждение исходный текст
Ответ на LDAP check flapping on crake due to race  (Thomas Munro <thomas.munro@gmail.com>)
Ответы Re: LDAP check flapping on crake due to race  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, Aug 02, 2020 at 05:29:57PM +1200, Thomas Munro wrote:
> There are one or two failures per month on crake.  It looks like when
> authentication is rejected, as expected in the tests, the psql process
> is exiting, but there is a race where the Perl script still wants to
> write a dummy query to its stdin (?), so you get:
> 
> psql: FATAL:  LDAP authentication failed for user "test1"
> ack Broken pipe: write( 13, 'SELECT 1' ) at
> /usr/share/perl5/vendor_perl/IPC/Run/IO.pm line 549.

Do you suppose a fix like e12a472 would cover this?  ("psql <&-" fails with
status 1 after successful authentication, and authentication failure gives
status 2.)



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Thomas Munro
Дата:
Сообщение: LDAP check flapping on crake due to race
Следующее
От: Noah Misch
Дата:
Сообщение: Re: SimpleLruTruncate() mutual exclusion