Re: BUG #7710: Xid epoch is not updated properly during checkpoint

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: BUG #7710: Xid epoch is not updated properly during checkpoint
Дата
Msg-id CA+U5nMKFZ7E_5YO2w4=Cs4p41tEpJEjyrz8suuLuS21-8aXdqg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #7710: Xid epoch is not updated properly during checkpoint  (Andres Freund <andres@anarazel.de>)
Список pgsql-bugs
On 1 December 2012 23:10, Andres Freund <andres@anarazel.de> wrote:

>> So barring objections, I'm going to remove LogStandbySnapshot's behavior
>> of returning the updated nextXid.
>
> I don't see any reason why it would be bad to remove this. I think the
> current behaviour could actually even delay getting to an active state
> slightly in the presence of prepared transactions because its used to
> create to initialize the KnownAssignedXid machinery in xlog_redo. If the
> prepared xacts are suboverflown its a *good* thing to have an old
> ->nextXid.

That particular coding was pretty weird. Please change.

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: BUG #7710: Xid epoch is not updated properly during checkpoint
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: BUG #7710: Xid epoch is not updated properly during checkpoint