Re: race condition in sync rep
| От | Robert Haas |
|---|---|
| Тема | Re: race condition in sync rep |
| Дата | |
| Msg-id | A4E8D4CF-BD86-472F-84EF-27841C1E0F19@gmail.com обсуждение исходный текст |
| Ответ на | Re: race condition in sync rep (Simon Riggs <simon@2ndquadrant.com>) |
| Ответы |
Re: race condition in sync rep
Re: race condition in sync rep |
| Список | pgsql-hackers |
On Mar 26, 2011, at 6:16 AM, Simon Riggs <simon@2ndquadrant.com> wrote: > That seems very unlikely even with fsync=off in a real config where we > have network path to consider. > > Your definition of a "nasty" race condition seems off. > > 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 setup was,but why? It is not our policy - and bad practice in general - to ship code with race conditions. The code you addedis not "for me"; it's "to fix a race condition". Thanks for the quick fix. ...Robert
В списке pgsql-hackers по дате отправления: