Re: LDAP check flapping on crake due to race

Поиск
Список
Период
Сортировка
От Noah Misch
Тема Re: LDAP check flapping on crake due to race
Дата
Msg-id 20200803002857.GC43516@rfd.leadboat.com
обсуждение исходный текст
Ответ на Re: LDAP check flapping on crake due to race  (Thomas Munro <thomas.munro@gmail.com>)
Ответы Re: LDAP check flapping on crake due to race  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
On Mon, Aug 03, 2020 at 12:12:57PM +1200, Thomas Munro wrote:
> On Mon, Aug 3, 2020 at 4:09 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > I'm inclined to suggest that the LDAP test's test_access could use
> > an empty stdin and pass "-c 'SELECT 1'" as a command line option
> > instead.  (Maybe that's exactly what you meant, but I'm not sure.)
> 
> Good idea.  Here's a patch like that.

While I had meant a different approach, this is superior.

> > I've not been able to duplicate this locally, so I have no idea if
> > that'd really fix it.
> 
> Me neither -- I guess someone who enjoys perl could hack IPC::Run to
> take a short nap at the right moment.

Not essential to reproduce first, I think.



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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: Comment simplehash/dynahash trade-offs
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: LDAP check flapping on crake due to race