Re: [HACKERS] Fix mdsync never-ending loop problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Fix mdsync never-ending loop problem
Дата
Msg-id 13940.1176300693@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Fix mdsync never-ending loop problem  (Heikki Linnakangas <heikki@enterprisedb.com>)
Ответы Re: [HACKERS] Fix mdsync never-ending loop problem
Список pgsql-patches
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> My first thought is that the cycle_ctr just adds extra complexity. The
> canceled-flag really is the key in Takahiro-san's patch, so we don't
> need the cycle_ctr anymore.

We don't have to have it in the sense of the code not working without it,
but it probably pays for itself by eliminating useless fsyncs.  The
overhead for it in my proposed implementation is darn near zero in the
non-error case.  Also, Takahiro-san mentioned at one point that he was
concerned to avoid useless fsyncs because of some property of the LDC
patch --- I wasn't too clear on what, but maybe he can explain.

            regards, tom lane

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

Предыдущее
От: NikhilS
Дата:
Сообщение: UPDATE using sub selects
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: patch to suppress psql timing output in quiet mode