Re: [BUGS] Fails to work on live images due to fsync() onpg_commit_ts before doing any write there

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [BUGS] Fails to work on live images due to fsync() onpg_commit_ts before doing any write there
Дата
Msg-id 20171108075827.uwfuqcii2bzrsnbl@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: [BUGS] Fails to work on live images due to fsync() onpg_commit_ts before doing any write there  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-bugs
On 2017-11-08 16:53:49 +0900, Michael Paquier wrote:
> You can check that by using a manual CHECKPOINT query for example.
> Based on what I see on this thread, my guess is that a failure would
> show up.

Not in the the default config, no?  Note the default config escape
hatch:
void
CheckPointTwoPhase(XLogRecPtr redo_horizon)
{int            i;int            serialized_xacts = 0;
if (max_prepared_xacts <= 0)    return;                    /* nothing to do */

- Andres


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [BUGS] Fails to work on live images due to fsync() onpg_commit_ts before doing any write there
Следующее
От: Stefan Tzeggai
Дата:
Сообщение: Re: [BUGS] PG10 Segfault 11 on default Ubuntu 16.04 installs