Re: subscriptionCheck failures on nightjar

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: subscriptionCheck failures on nightjar
Дата
Msg-id
20190213174151.mfylkessxmapt4io@alap3.anarazel.de
Ответ на
Список
Дерево обсуждения
subscriptionCheck failures on nightjar Tom Lane <tgl@sss.pgh.pa.us>
Re: subscriptionCheck failures on nightjar Thomas Munro <thomas.munro@enterprisedb.com>
Re: subscriptionCheck failures on nightjar Tom Lane <tgl@sss.pgh.pa.us>
Re: subscriptionCheck failures on nightjar Andres Freund <andres@anarazel.de>
Re: subscriptionCheck failures on nightjar Tom Lane <tgl@sss.pgh.pa.us>
Re: subscriptionCheck failures on nightjar Andres Freund <andres@anarazel.de>
Re: subscriptionCheck failures on nightjar Tom Lane <tgl@sss.pgh.pa.us>
Re: subscriptionCheck failures on nightjar Andres Freund <andres@anarazel.de>
Re: subscriptionCheck failures on nightjar Tom Lane <tgl@sss.pgh.pa.us>
Re: subscriptionCheck failures on nightjar Andres Freund <andres@anarazel.de>
Re: subscriptionCheck failures on nightjar Tom Lane <tgl@sss.pgh.pa.us>
Re: subscriptionCheck failures on nightjar Thomas Munro <thomas.munro@enterprisedb.com>
Re: subscriptionCheck failures on nightjar Andres Freund <andres@anarazel.de>
Re: subscriptionCheck failures on nightjar Michael Paquier <michael@paquier.xyz>
Re: subscriptionCheck failures on nightjar Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: subscriptionCheck failures on nightjar Tom Lane <tgl@sss.pgh.pa.us>
Re: subscriptionCheck failures on nightjar Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: subscriptionCheck failures on nightjar Robert Haas <robertmhaas@gmail.com>
Re: subscriptionCheck failures on nightjar Tom Lane <tgl@sss.pgh.pa.us>
Re: subscriptionCheck failures on nightjar Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: subscriptionCheck failures on nightjar Michael Paquier <michael@paquier.xyz>
Re: subscriptionCheck failures on nightjar Kuntal Ghosh <kuntalghosh.2007@gmail.com>
Re: subscriptionCheck failures on nightjar Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: subscriptionCheck failures on nightjar Michael Paquier <michael@paquier.xyz>
Re: subscriptionCheck failures on nightjar Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: subscriptionCheck failures on nightjar Michael Paquier <michael@paquier.xyz>
Re: subscriptionCheck failures on nightjar Kuntal Ghosh <kuntalghosh.2007@gmail.com>
Re: subscriptionCheck failures on nightjar Michael Paquier <michael@paquier.xyz>
Re: subscriptionCheck failures on nightjar Andres Freund <andres@anarazel.de>
Re: subscriptionCheck failures on nightjar Tom Lane <tgl@sss.pgh.pa.us>
Re: subscriptionCheck failures on nightjar Andres Freund <andres@anarazel.de>
Re: subscriptionCheck failures on nightjar Tom Lane <tgl@sss.pgh.pa.us>
Re: subscriptionCheck failures on nightjar Andres Freund <andres@anarazel.de>
Re: subscriptionCheck failures on nightjar Alvaro Herrera <alvherre@2ndquadrant.com>
Re: subscriptionCheck failures on nightjar Tom Lane <tgl@sss.pgh.pa.us>
Re: subscriptionCheck failures on nightjar Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: subscriptionCheck failures on nightjar Tom Lane <tgl@sss.pgh.pa.us>
RE: subscriptionCheck failures on nightjar "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: subscriptionCheck failures on nightjar Andres Freund <andres@anarazel.de>
Re: subscriptionCheck failures on nightjar Tom Lane <tgl@sss.pgh.pa.us>
Re: subscriptionCheck failures on nightjar Tom Lane <tgl@sss.pgh.pa.us>
Re: subscriptionCheck failures on nightjar Tom Lane <tgl@sss.pgh.pa.us>
Re: subscriptionCheck failures on nightjar Tom Lane <tgl@sss.pgh.pa.us>
Re: subscriptionCheck failures on nightjar Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Hi,

On 2019-02-13 12:37:35 -0500, Tom Lane wrote:
> Andres Freund  writes:
> > On 2019-02-13 11:57:32 -0500, Tom Lane wrote:
> >> I've managed to reproduce this locally, and obtained this PANIC:
> 
> > Cool. How exactly?
> 
> Andrew told me that nightjar is actually running in a qemu VM,
> so I set up freebsd 9.0 in a qemu VM, and boom.  It took a bit
> of fiddling with qemu parameters, but for such a timing-sensitive
> problem, that's not surprising.

Ah.


> >> I also wonder why bother with the directory sync just before the
> >> rename.
> 
> > Because on some FS/OS combinations the size of the renamed-into-place
> > file isn't guaranteed to be durable unless the directory was
> > fsynced.
> 
> Bleah.  But in any case, the rename should not create a situation
> in which we need to fsync the file data again.

Well, it's not super well defined which of either you need to make the
rename durable, and it appears to differ between OSs. Any argument
against fixing it up like I suggested, by using an fd from before the
rename?

Greetings,

Andres Freund

В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Andres Freund
Дата:
FAQ