Re: Immediate shutdown causes the assertion failure in 9.4dev

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Immediate shutdown causes the assertion failure in 9.4dev
Date: 2013-08-07 17:50:55
Message-ID: CAHGQGwFGSz3SiOcOtrGS8ePpwvLOk1sEkud=VrZevZw7gZTdxQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Aug 1, 2013 at 2:26 AM, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
> 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.

Committed.

Regards,

--
Fujii Masao

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2013-08-07 17:57:32 Re: Immediate shutdown causes the assertion failure in 9.4dev
Previous Message Jon Nelson 2013-08-07 17:49:21 Re: 9.4 regression