From: Noah Misch <noah@leadboat.com>
To: peter.eisentraut@2ndquadrant.com
Cc: Masahiko Sawada <sawada.mshk@gmail.com>
Cc: Arseny Sher <a.sher@postgrespro.ru>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: DROP SUBSCRIPTION hangs if sub is disabled in the same transaction
Date: Sun, 10 Sep 2017 09:14:02 -0700
Message-ID: <20170910161402.GA64100@rfd.leadboat.com> (raw)
In-Reply-To: <20170907045312.GA37725@rfd.leadboat.com>
References: <87mv6av84w.fsf@ars-thinkpad>
<87ingyv81u.fsf@ars-thinkpad>
<CAD21AoBuCHNP82MU+qC3SEBaiia46zb3EPn09-rTLdHVwN35XA@mail.gmail.com>
<20170907045312.GA37725@rfd.leadboat.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
On Thu, Sep 07, 2017 at 04:53:12AM +0000, Noah Misch wrote:
> On Wed, Sep 06, 2017 at 03:28:47PM +0900, Masahiko Sawada wrote:
> > On Mon, Sep 4, 2017 at 11:43 PM, Arseny Sher <a.sher@postgrespro.ru> wrote:
> > > Arseny Sher <a.sher@postgrespro.ru> writes:
> > >
> > >> Attached patch fixes this by stopping workers before RO drop, as
> > >> already done in case when we drop replication slot.
> > >
> > > Sorry, here is the patch.
> > >
> >
> > I could reproduce this issue, it's a bug. Added this to the open item.
> > The cause of this is commit 7e174fa7 which make subscription ddls kill
> > the apply worker only when transaction commit. I didn't look the patch
> > deeply yet but I'm not sure the approach that kills apply worker
> > before commit would be good.
>
> [Action required within three days. This is a generic notification.]
>
> The above-described topic is currently a PostgreSQL 10 open item. Peter,
> since you committed the patch believed to have created it, you own this open
> item. If some other commit is more relevant or if this does not belong as a
> v10 open item, please let us know. Otherwise, please observe the policy on
> open item ownership[1] and send a status update within three calendar days of
> this message. Include a date for your subsequent status update. Testers may
> discover new open items at any time, and I want to plan to get them all fixed
> well in advance of shipping v10. Consequently, I will appreciate your efforts
> toward speedy resolution. Thanks.
>
> [1] https://www.postgresql.org/message-id/20170404140717.GA2675809%40tornado.leadboat.com
This PostgreSQL 10 open item is past due for your status update. Kindly send
a status update within 24 hours, and include a date for your subsequent status
update. Refer to the policy on open item ownership:
https://www.postgresql.org/message-id/20170404140717.GA2675809%40tornado.leadboat.com
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
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-hackers@postgresql.org
Cc: noah@leadboat.com, peter.eisentraut@2ndquadrant.com, sawada.mshk@gmail.com, a.sher@postgrespro.ru
Subject: Re: DROP SUBSCRIPTION hangs if sub is disabled in the same transaction
In-Reply-To: <20170910161402.GA64100@rfd.leadboat.com>
References: <87mv6av84w.fsf@ars-thinkpad> <87ingyv81u.fsf@ars-thinkpad> <CAD21AoBuCHNP82MU+qC3SEBaiia46zb3EPn09-rTLdHVwN35XA@mail.gmail.com> <20170907045312.GA37725@rfd.leadboat.com> <20170910161402.GA64100@rfd.leadboat.com>
* 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