Re: Reproducible GIST index corruption under concurrent updates

Поиск
Список
Период
Сортировка
От Duncan Sands
Тема Re: Reproducible GIST index corruption under concurrent updates
Дата
Msg-id 55ea6133-f2d1-0cc5-8ce5-333e373164ba@deepbluecap.com
обсуждение исходный текст
Ответ на Re: Reproducible GIST index corruption under concurrent updates  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-bugs
> The comment change was correct, but the condition used &&. Should've been ||. 
> There is another copy of basically the same condition earlier in the function 
> that was changed correctly, but I blundered this one. Oops.
> 
> The attached patch fixes this. I also added an assertion to the 
> gistplacetopage() function, to check that we never try to insert on a deleted 
> page. This bug could've made that happen too, although in this case the problem 
> was a concurrent split, not a deletion. I'll backpatch and push this tomorrow.
> 
> Many thanks for the easy reproducer script, Duncan!

No problem Heikki, thanks for the quick fix.

Best wishes, Duncan.



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #16825: When building on Windows, cl /? retrun 'x64' not AMD64 and the build does not create x64 environment
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Reproducible GIST index corruption under concurrent updates