Immediate shutdown causes the assertion failure in 9.4dev

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Immediate shutdown causes the assertion failure in 9.4dev
Дата
Msg-id CAHGQGwF+BTZhFHncvnQUG+hdQCLSnzv16cvC-TX96eEOzpRvmQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Immediate shutdown causes the assertion failure in 9.4dev  (Robert Haas <robertmhaas@gmail.com>)
Re: Immediate shutdown causes the assertion failure in 9.4dev  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
Hi,

I encountered the following assertion failure when I executed
an immediate shutdown.

LOG:  received immediate shutdown request
WARNING:  terminating connection because of crash of another server process
DETAIL:  The postmaster has commanded this server process to roll back
the current transaction and exit, because another server process
exited abnormally and possibly corrupted shared memory.
HINT:  In a moment you should be able to reconnect to the database and
repeat your command.
TRAP: FailedAssertion("!(CheckpointerPID == 0)", File: "postmaster.c",
Line: 3440)

The cause of this problem seems to be that PostmasterStateMachine()
may fail to wait for the checkpointer to exit. Attached patch fixes this.

Regards,

--
Fujii Masao

Вложения

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

Предыдущее
От: Ivan Lezhnjov IV
Дата:
Сообщение: backup.sgml-cmd-v003.patch
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Backup throttling