Re: Race-condition with failed block-write?

Поиск
Список
Период
Сортировка
От Arjen van der Meijden
Тема Re: Race-condition with failed block-write?
Дата
Msg-id 43282CC1.6060502@tweakers.net
обсуждение исходный текст
Ответ на Race-condition with failed block-write?  (Arjen van der Meijden <acm@tweakers.net>)
Список pgsql-bugs
Tom Lane wrote:
> Arjen van der Meijden <acm@tweakers.net> writes:
>>> I'll try and see if I can dig up more from the logs and see if I can
>>> test a few reasonable scenario's tomorrow though.
>
>> I wasn't able to find anything suspicious at all.
>
> Is it conceivable that the init-script itself did something funny?
> There are so many different init scripts around ...

Its the default gentoo-init-script, but I checked it whether it could do
weird things. Anyway, this is the stop-code:

stop() {
         ebegin "Stopping PostgreSQL"
         su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast"
         eend $?
}

start and restart are similarily simple.
ebegin and eend are afaik simple macro's to pretty print to the console.

Best regards,

Arjen

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

Предыдущее
От: Arjen van der Meijden
Дата:
Сообщение: Re: Race-condition with failed block-write?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Race-condition with failed block-write?