Re: race condition in sync rep

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: race condition in sync rep
Дата
Msg-id 3555.1301155496@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: race condition in sync rep  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: race condition in sync rep  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
>> I've added code for you.

> Your skepticism seems out of place. I actually hit this problem in testing. We could debate how realistic my test
setupwas, but why?  It is not our policy - and bad practice in general - to ship code with race conditions.  The code
youadded is not "for me"; it's "to fix a race condition".
 

In particular, in view of today's fix, shouldn't this commit be reverted?

http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=6e8e7cc580665ddd43c8ca2acc6d60f345570a57

I thought at the time that that was nothing more than documenting a
known bug, and now it is documenting a dead bug.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 9.1 Beta
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Lock problem with autovacuum truncating heap