Re: BUG #17543: CSVLOG malformed from disk space error

Поиск
Список
Период
Сортировка
Искать
От
Kyotaro Horiguchi
Тема
Re: BUG #17543: CSVLOG malformed from disk space error
Дата
Msg-id
20220713.130915.1705049654649862003.horikyota.ntt@gmail.com
Ответ на
Список
Дерево обсуждения
BUG #17543: CSVLOG malformed from disk space error PG Bug reporting form <noreply@postgresql.org>
Re: BUG #17543: CSVLOG malformed from disk space error "David G. Johnston" <david.g.johnston@gmail.com>
Re: BUG #17543: CSVLOG malformed from disk space error Andres Freund <andres@anarazel.de>
Re: BUG #17543: CSVLOG malformed from disk space error Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: BUG #17543: CSVLOG malformed from disk space error Noah Misch <noah@leadboat.com>
Re: BUG #17543: CSVLOG malformed from disk space error Michael Paquier <michael@paquier.xyz>
At Tue, 12 Jul 2022 17:48:53 -0700, Andres Freund  wrote in 
> It might be possible to devise a scheme in which we force rotation in cases
> where corruption might have occurred?

It would be cumbersome to generate unique names for new files then let
the server grab the newest file at restart. I'm not sure what happens
if many files are quickly generated due to ENOSPC. (Maybe fills-up the
dirent then moves to another failure mode..)

Considering how often that can happen, I would choose to make the
reader function robust or to fix the file manually..

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center


В списке pgsql-bugs по дате отправления
От: Andres Freund
Дата:
От: Yura Sokolov
Дата:
FAQ