RE: strange behaviour (bug)

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема RE: strange behaviour (bug)
Дата
Msg-id 000a01c01ddd$7f3dac20$2801007e@tpf.co.jp
обсуждение исходный текст
Ответ на RE: strange behaviour (bug)  ("Mikheev, Vadim" <vmikheev@SECTORBASE.COM>)
Список pgsql-hackers
> -----Original Message-----
> From: Mikheev, Vadim [mailto:vmikheev@SECTORBASE.COM]
> 
> > Probably WAL would solve this phenomenon by rolling
> > back the content of disc and shared buffer in reality.
> > However if 7.0.x would be released we had better change 
> > bufmgr IMHO.
> 
> I'm going to handle btree split but currently there is no way
> to rollback it - we unlock splitted pages after parent
> is locked and concurrent backend may update one/both of
> siblings before we get our locks back.
> We have to continue with split or could leave parent unchanged
> and handle "my bits moved..." (ie continue split in another
> xaction if we found no parent for a page) ... or we could hold
> locks on all splitted pages till some parent updated without
> split, but I wouldn't do this.
>

It seems to me that btree split operations must always be
rolled forward even in case of abort/crash. DO you have
other ideas ?

Regards.

Hiroshi Inoue


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

Предыдущее
От: Paul
Дата:
Сообщение: Replication of a small portion of data to another database
Следующее
От: Tom Lane
Дата:
Сообщение: Re: like-operator on index-scan