Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iBR2s-0004fL-Pc for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Sep 2019 22:06:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iBR2r-0005vh-KL for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Sep 2019 22:06:29 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1iBR2r-0005vW-7c for pgsql-hackers@lists.postgresql.org; Fri, 20 Sep 2019 22:06:29 +0000 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iBR2n-0003o1-FI for pgsql-hackers@lists.postgresql.org; Fri, 20 Sep 2019 22:06:28 +0000 Received: by mail-qt1-x842.google.com with SMTP id c3so10393913qtv.10 for ; Fri, 20 Sep 2019 15:06:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=T6NPnlpA1sBib87YCVu7AEsU3XSDE0OvEwBDdl1AKSY=; b=iwv0M0u4lpUjpc84D/mBtr1BnqbkIYb2Q22fNjzzT1N/lNGSPpqeQ0V9Uphir7qCFK ux39PsC9iYLkFwWRcC31HFHVdmZ3HIe8okzlRadhjgjmeTSDDcF1jRTxHQi+d0ymWG6r QLr+yezCnJEPF5J94IssFSP14xKFoOYbskWZKl7k5W/96spsOpycoXUUFBLFIvKgnO2W 0wRWL1/6E9+YNAHrh3ILLmGQAvWlubesUK4vM8fedX2Lo+Atb9C65lcCzit3WI53hXW6 vEbxDay+uCP1AwXRKIkDPCdkFW86d8C1GE+N/Zq2+i2PoqxzzYvM2dFTOUqLgkPaXdEh SGJg== 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:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=T6NPnlpA1sBib87YCVu7AEsU3XSDE0OvEwBDdl1AKSY=; b=BZrV2eJG7lqdVCu3+geqvInquwkVaJ3/Hxkn2hJMBMDm2PKirlA0WJUAi788VvwAR/ 66lrpIOEfuyYz6rNDABQ4ltLBff96nD3YQElcnfgbjA8MhcDhAM3GUQDetLPnX4IeMxE aB4JF8s2DWI3IvY1td8e+FjXKDVoW7xI7MpRybnj3rDm+iyy6+aEBOwPYkDZ7Mri3yEQ piACCfegtzL0V1cIrN55Q4+5urw7UspHdLpKLe4XcaIPYMbpjFN74dcvgqm08KQnT3Jq 9lFhw1fvLEuAop3hUb4mljBD9uJIiJb8JD8mpGeK8nuYEMb5S0PkouaBQW25UfwF3Ksa eQnQ== X-Gm-Message-State: APjAAAX4dNCBIzM9gd/JLJ3gn9nQiHAXBYcBQacp7wg0fhS+h8LUV4qe DTHo9j0URIVyXq0wH8ulX/C7Ew== X-Google-Smtp-Source: APXvYqyy2/ZYfCktLvE/7fq37bxtiKqajv6bVq6/xaPYzx2+UtPGrpsxyBpHwTI6Pnq/C35fdr4zFw== X-Received: by 2002:aed:2f42:: with SMTP id l60mr5676063qtd.315.1569017183510; Fri, 20 Sep 2019 15:06:23 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([179.56.51.60]) by smtp.gmail.com with ESMTPSA id 33sm2130529qtr.62.2019.09.20.15.06.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Sep 2019 15:06:23 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 8FEC91207A0; Fri, 20 Sep 2019 19:06:20 -0300 (-03) Date: Fri, 20 Sep 2019 19:06:20 -0300 From: Alvaro Herrera To: Tom Lane Cc: Andres Freund , Andrew Dunstan , Kuntal Ghosh , Michael Paquier , Tomas Vondra , Robert Haas , Thomas Munro , PostgreSQL Hackers Subject: Re: subscriptionCheck failures on nightjar Message-ID: <20190920220620.GA5214@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2636.1569016167@sss.pgh.pa.us> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Sep-20, Tom Lane wrote: > Actually, what I did was as attached [1], and I am getting traces like > [2]. The problem seems to occur only when there are two or three > processes concurrently creating the same snapshot file. It's not > obvious from the debug trace, but the snapshot file *does* exist > after the music stops. Uh .. I didn't think it was possible that we would build the same snapshot file more than once. Isn't that a waste of time anyway? Maybe we can fix the symptom by just not doing that in the first place? I don't have a strategy to do that, but seems worth considering before retiring the bf animals. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services