Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZP0vk-0006kw-F0 for pgsql-bugs@arkaria.postgresql.org; Tue, 11 Aug 2015 04:12:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZP0vj-00008q-S0 for pgsql-bugs@arkaria.postgresql.org; Tue, 11 Aug 2015 04:12:51 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZP0vi-000084-OK for pgsql-bugs@postgresql.org; Tue, 11 Aug 2015 04:12:50 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZP0ve-0007VG-VQ for pgsql-bugs@postgresql.org; Tue, 11 Aug 2015 04:12:49 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t7B4Cfxv025768; Tue, 11 Aug 2015 00:12:41 -0400 From: Tom Lane To: Maciek Sakrejda cc: Michael Paquier , PostgreSQL mailing lists Subject: Re: BUG #13559: WAL replay stuck after DROP VIEW In-reply-to: References: <20150810223114.2696.65707@wrigleys.postgresql.org> Comments: In-reply-to Maciek Sakrejda message dated "Mon, 10 Aug 2015 21:03:20 -0700" Date: Tue, 11 Aug 2015 00:12:41 -0400 Message-ID: <25767.1439266361@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Maciek Sakrejda writes: > On Mon, Aug 10, 2015 at 8:18 PM, Michael Paquier > wrote: >> But this fixed a problem on master where queries got stuck because of >> the WAL insert lock patch that has been introduced in 9.4 because of a >> race condition between two backends. > Interesting, thanks for pointing this out. FWIW, I doubt that that particular fix is related, because in a replica server there are no processes performing WAL inserts. A stack trace of the startup process would definitely be a good thing to grab if/when you see this again. And, of course, there is always the standard advice that you ought to be running current release --- 9.4.4 not 9.4.1. I do not recognize this as something we've fixed recently, but that doesn't mean it isn't. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs