From: David Steele <david@pgmasters.net>
To: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: Re: pgsql: Mark pg_start_backup and pg_stop_backup as parallel-restricted.
Date: Mon, 6 Mar 2017 14:41:58 -0500
Message-ID: <3542dfbd-68dd-f246-8fb5-d2ac25d947fc@pgmasters.net> (raw)
In-Reply-To: <E1ckwkQ-0006gp-Jo@gemulon.postgresql.org>
References: <E1ckwkQ-0006gp-Jo@gemulon.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
On 3/6/17 12:48 PM, Robert Haas wrote:
> Mark pg_start_backup and pg_stop_backup as parallel-restricted.
>
> They depend on backend-private state that will not be synchronized by
> the parallel machinery, so they should not be marked parallel-safe.
> This issue also exists in 9.6, but we obviously can't do anything
> about 9.6 clusters that already exist. Possibly this could be
> back-patched so that future 9.6 clusters would come out OK, or
> possibly we should back-patch some other fix, but that would need more
> discussion.
I think it would be worth back-patching the catalog fix for future 9.6
clusters as a start. Parallelism is off by default in 9.6 so that
mitigates some of the problem.
I don't have any regression tests that cover backups when parallelism is
enabled in 9.6, but I'm willing to do that and see if this is a
realistic issue or not.
--
-David
david@pgmasters.net
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: david@pgmasters.net, rhaas@postgresql.org
Subject: Re: pgsql: Mark pg_start_backup and pg_stop_backup as parallel-restricted.
In-Reply-To: <3542dfbd-68dd-f246-8fb5-d2ac25d947fc@pgmasters.net>
References: <E1ckwkQ-0006gp-Jo@gemulon.postgresql.org> <3542dfbd-68dd-f246-8fb5-d2ac25d947fc@pgmasters.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox