Re: "WIP: Data at rest encryption" patch and, 2 phase commit.

Поиск
Список
Период
Сортировка
Искать
От
Antonin Houska
Тема
Re: "WIP: Data at rest encryption" patch and, 2 phase commit.
Дата
Msg-id
11824.1532519662@localhost
Список
Дерево обсуждения
WIP: Data at rest encryption Ants Aasma <ants.aasma@gmail.com>
Re: WIP: Data at rest encryption Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] WIP: Data at rest encryption Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] WIP: Data at rest encryption Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] WIP: Data at rest encryption Ants Aasma <ants.aasma@eesti.ee>
Re: [HACKERS] WIP: Data at rest encryption Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] WIP: Data at rest encryption Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] WIP: Data at rest encryption Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] WIP: Data at rest encryption Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] WIP: Data at rest encryption Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] WIP: Data at rest encryption Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] WIP: Data at rest encryption Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] WIP: Data at rest encryption Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] WIP: Data at rest encryption Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] WIP: Data at rest encryption Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] WIP: Data at rest encryption Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] WIP: Data at rest encryption Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] WIP: Data at rest encryption Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Tatsuo Ishii <ishii@sraoss.co.jp>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] WIP: Data at rest encryption Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] WIP: Data at rest encryption Joe Conway <mail@joeconway.com>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] WIP: Data at rest encryption Joe Conway <mail@joeconway.com>
Re: [HACKERS] WIP: Data at rest encryption Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] WIP: Data at rest encryption Joe Conway <mail@joeconway.com>
Re: [HACKERS] WIP: Data at rest encryption Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] WIP: Data at rest encryption David Fetter <david@fetter.org>
Re: [HACKERS] WIP: Data at rest encryption Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] WIP: Data at rest encryption Aleksander Alekseev <a.alekseev@postgrespro.ru>
Re: [HACKERS] WIP: Data at rest encryption Kenneth Marshall <ktm@rice.edu>
Re: [HACKERS] WIP: Data at rest encryption Aleksander Alekseev <a.alekseev@postgrespro.ru>
Re: [HACKERS] WIP: Data at rest encryption Aleksander Alekseev <a.alekseev@postgrespro.ru>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] WIP: Data at rest encryption Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Ants Aasma <ants.aasma@eesti.ee>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Ants Aasma <ants.aasma@eesti.ee>
Re: [HACKERS] WIP: Data at rest encryption Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Data at rest encryption Antonin Houska <ah@cybertec.at>
Re: [HACKERS] WIP: Data at rest encryption Toshi Harada <harada.toshi@po.ntt-tx.co.jp>
Re: [HACKERS] WIP: Data at rest encryption Antonin Houska <ah@cybertec.at>
"WIP: Data at rest encryption" patch and, 2 phase commit. Toshi Harada <harada.toshi@po.ntt-tx.co.jp>
Re: WIP: Data at rest encryption Haribabu Kommi <kommi.haribabu@gmail.com>
Re: WIP: Data at rest encryption Ants Aasma <ants.aasma@gmail.com>
Re: WIP: Data at rest encryption Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: WIP: Data at rest encryption Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: WIP: Data at rest encryption PostgreSQL - Hans-Jürgen Schönig<postgres@cybertec.at>
Re: WIP: Data at rest encryption Michael Paquier <michael.paquier@gmail.com>
Re: WIP: Data at rest encryption Ants Aasma <ants.aasma@eesti.ee>
Re: WIP: Data at rest encryption Haribabu Kommi <kommi.haribabu@gmail.com>
Toshi Harada  wrote:

> Hi.
> 
> I applied the patch "WIP: Data at rest encryption" to PostgreSQL 11 - beta 2 and I'm working on it.
> 
> When this patch is applied, the following problem occurs.
> 
> * An error occurs when CHECKPOINT is executed during two-phase commit.
> * After an error occurs, if you stop PostgreSQL, it will never start again.
> 
> (1) First, execute PREPARE TRANSACTION.
> 
> postgres=# BEGIN;
> BEGIN
> postgres=# PREPARE TRANSACTION 'foo';
> PREPARE TRANSACTION
> postgres=#
> 
> (2) Execute the CHECKPOINT command from another terminal.
>     CHEKPOINT command fails.
> 
> postgres=# CHECKPOINT;
> ERROR:  checkpoint request failed
> HINT:  Consult recent messages in the server log for details.
> postgres=#

The patch version I posted in

https://www.postgresql.org/message-id/11678.1532519255%40localhost

fixes an issue (unitialized pointer) that caused failure here, but it was
SEGFAULT rather than ERROR. And the scope of the bug was broader than just
CHECKPOINT.

Can you please test it again with the new version of the patch?

Anyway, thanks for your reports!


-- 
Antonin Houska
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26, A-2700 Wiener Neustadt
Web: https://www.cybertec-postgresql.com

В списке pgsql-hackers по дате отправления
От: Antonin Houska
Дата:
От: Alexander Korotkov
Дата:
FAQ