pgsql: - Add check of already changed page while replay WAL.

Поиск
Список
Период
Сортировка
От teodor@postgresql.org (Teodor Sigaev)
Тема pgsql: - Add check of already changed page while replay WAL.
Дата
Msg-id 20071029192657.82DBB754229@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
- Add check of already changed page while replay WAL. This touches only
ginRedoInsert(), because other ginRedo* functions rewrite whole page or
make changes which could be applied several times without consistent's loss

- Remove check of identifying of corresponding split record:
it's possible that replaying of WAL starts after actual page split, but before
removing of that split from incomplete splits list. In this case, that check
cause FATAL error.

Per stress test which reproduces bug reported by Craig McElroy
<craig.mcelroy@contegix.com>

Modified Files:
--------------
    pgsql/src/backend/access/gin:
        ginxlog.c (r1.9 -> r1.10)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/gin/ginxlog.c?r1=1.9&r2=1.10)

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

Предыдущее
От: fxjr@pgfoundry.org (User Fxjr)
Дата:
Сообщение: npgsql - Npgsql: 2007-10-29 Francisco Figueiredo Jr.
Следующее
От: teodor@postgresql.org (Teodor Sigaev)
Дата:
Сообщение: pgsql: - Add check of already changed page while replay WAL.