Re: BUG #5725: server couldn't start when installing on liveCD

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #5725: server couldn't start when installing on liveCD
Дата
Msg-id 1288105873-sup-1375@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: BUG #5725: server couldn't start when installing on liveCD  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: BUG #5725: server couldn't start when installing on liveCD
Список pgsql-bugs
Excerpts from Robert Haas's message of lun oct 25 23:37:31 -0300 2010:
> On Mon, Oct 25, 2010 at 5:43 PM, Alvaro Herrera
> <alvherre@commandprompt.com> wrote:

> > Hmm, my manpage says that open() could fail with EINVAL if O_DIRECT is
> > used and not supported by the filesystem.  We use O_DIRECT in some
> > wal_sync_method configurations.  Maybe the Ubuntu live is not getting
> > that flag right.

> If this really is caused by a WAL setting that's incompatible with the
> filesystem, maybe we should add a HINT.  This makes two reports today,
> plus apparently at least one more on the Ubuntu sight.

Maybe we should retry the syscall without the flag in the EINVAL case.
It's not a critical flag for correctness, just desired for performance.

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Recovery bug
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #5725: server couldn't start when installing on liveCD