Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dr4sI-00057V-1e for pgsql-hackers@arkaria.postgresql.org; Sun, 10 Sep 2017 16:14:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dr4sG-0002xw-S0 for pgsql-hackers@arkaria.postgresql.org; Sun, 10 Sep 2017 16:14:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dr4sD-0002ve-SK for pgsql-hackers@postgresql.org; Sun, 10 Sep 2017 16:14:18 +0000 Received: from mail-pg0-x22c.google.com ([2607:f8b0:400e:c05::22c]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dr4s5-0007x6-3L for pgsql-hackers@postgresql.org; Sun, 10 Sep 2017 16:14:16 +0000 Received: by mail-pg0-x22c.google.com with SMTP id t3so11642073pgt.0 for ; Sun, 10 Sep 2017 09:14:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=dZgZGlD7P2PiBieevlj93in70n+Ti2Hd97lXB1KOwlE=; b=G0ggBXK5KuNg++eoHJOTh5J0NYRFpF5Ud3q6bc17ORGcfc3k0GCg++VbF4SRT/x2oy iEAhbRVAjD6lDc4P7bpH8V0VJLXtgAOu2dM/tg34woRAlDBw5RGoPq0KtXMghxMuUUlJ t3WD1KcIhWD15yMI2lrtFdFV/Zuq/P5YruOqQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=dZgZGlD7P2PiBieevlj93in70n+Ti2Hd97lXB1KOwlE=; b=jCl9r1jS9kUbtgYVb7gkGaoDObcONJ7UmqCwTwN81L4pMUxjLShHw9cd4hU9dBedIT Cb6ML3d6fhSXInTu+hI6kFtFW5cCxwHNsOSPahvfJudcMFCzyIFXBYB1jNrN6eVgXJjj A+vpDZFRIbuxF3/CI50DiTsPEu5MNVT9RibCVO1NCay3FRAjFsojyF64a4+BrDt6Gpg3 VQqeFUBLUv1rjVuqxfYO227GmvX+uUS8sT6lIC3CEtX3Xmuf7VDvB7LLUFRhwXOo2A5Z qMFvN/4tpa0t5YOFrnH7+rtAfGUeWmsdlFaSWkfGCnEoJMHIDLHCpKsS3dq/d/C2Sau7 Ww+g== X-Gm-Message-State: AHPjjUiO6uP3uX0rojm1pAi3Kb8HutP9hWqn36FTveMPwUJKr0kiXj+G bIjMOq21usu1AM9K X-Google-Smtp-Source: ADKCNb4BaSRE9MpxwGuhGbhiIXoiujxnN9wG0GNAmoHhHsSW7g8jmb5N8TN5f5j/TP3GAqOZLQohtA== X-Received: by 10.98.212.94 with SMTP id u30mr9475997pfl.297.1505060046225; Sun, 10 Sep 2017 09:14:06 -0700 (PDT) Received: from rfd.leadboat.com (c-73-158-248-138.hsd1.ca.comcast.net. [73.158.248.138]) by smtp.gmail.com with ESMTPSA id c30sm11695184pgn.33.2017.09.10.09.14.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Sep 2017 09:14:05 -0700 (PDT) Date: Sun, 10 Sep 2017 09:14:02 -0700 From: Noah Misch To: peter.eisentraut@2ndquadrant.com Cc: Masahiko Sawada , Arseny Sher , PostgreSQL-development Subject: Re: DROP SUBSCRIPTION hangs if sub is disabled in the same transaction Message-ID: <20170910161402.GA64100@rfd.leadboat.com> References: <87mv6av84w.fsf@ars-thinkpad> <87ingyv81u.fsf@ars-thinkpad> <20170907045312.GA37725@rfd.leadboat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170907045312.GA37725@rfd.leadboat.com> User-Agent: Mutt/1.5.24 (2015-08-30) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org 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 wrote: > > > Arseny Sher 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