Re: Race condition in b-tree page deletion

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Race condition in b-tree page deletion
Дата
Msg-id 52E790E7.60400@vmware.com
обсуждение исходный текст
Ответ на Re: Race condition in b-tree page deletion  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-hackers
On 01/27/2014 04:34 PM, Heikki Linnakangas wrote:
> While fixing the above issues, and reviewing this again in general, I
> noticed that btree_xlog_unlink_page() was a few bricks shy of a load.
> When unlinking an internal page, it didn't update the pointer to the new
> topmost page in the to-be-deleted chain. Fixed that.
>
> Attached is a new version. I also re-worded the README changes; I hope
> it reads better now.

I dusted off the scripts I posted yesterday, to visualize b-tree
structure using graphviz, and tried it on this patch. I found a number
of bugs. Attached is a new version with those bugs fixed.

- Heikki

Вложения

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

Предыдущее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: Retain dynamic shared memory segments for postmaster lifetime
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Observed Compilation warning in WIN32 build