Re: Spurious "apparent wraparound" via SimpleLruTruncate() rounding

Поиск
Список
Период
Сортировка
От Noah Misch
Тема Re: Spurious "apparent wraparound" via SimpleLruTruncate() rounding
Дата
Msg-id 20190217040913.GA1305059@rfd.leadboat.com
обсуждение исходный текст
Ответ на Re: Spurious "apparent wraparound" via SimpleLruTruncate() rounding  (Noah Misch <noah@leadboat.com>)
Список pgsql-hackers
On Wed, Feb 13, 2019 at 11:26:23PM -0800, Noah Misch wrote:
> On further study, I was able to reproduce data loss

> Fixes are available:
> 
> a. Fix the rounding in SimpleLruTruncate().  (The patch I posted upthread is
>    wrong; I will correct it in a separate message.)

Here's a corrected version.  I now delete a segment only if both its first
page and its last page are considered to precede the cutoff; see the new
comment at SlruMayDeleteSegment().

Вложения

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

Предыдущее
От: Donald Dong
Дата:
Сообщение: Re: Actual Cost
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Actual Cost