Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jimcK-0006kN-P2 for pgsql-general@arkaria.postgresql.org; Tue, 09 Jun 2020 22:21:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jimcJ-00068b-ID for pgsql-general@arkaria.postgresql.org; Tue, 09 Jun 2020 22:21:11 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jimcI-00067z-Fg for pgsql-general@lists.postgresql.org; Tue, 09 Jun 2020 22:21:11 +0000 Received: from wforward5-smtp.messagingengine.com ([64.147.123.35]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jimcC-00029N-V8 for pgsql-general@postgresql.org; Tue, 09 Jun 2020 22:21:09 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailforward.west.internal (Postfix) with ESMTP id 3359D9E5; Tue, 9 Jun 2020 18:21:03 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 09 Jun 2020 18:21:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=IInYYTaHWQiStblygMR2asKHhh/ZcnNY5Oz/5KQvZ 1M=; b=bcDR+zN/P/Sx26/Jkm0agVVdiopvyi++Bs7AiprO6ZCQk/3hqFqiJfxg6 Qwfw4J0dUnvowiFzmGcDVUYQ7Z0bB1eFE6Ln/SQIzRaHs8HdmlQ4hboRUu/US5Pf FtRO0jAmq7JsTgUuZkOwi+YB2RT3wSDokzfSUGaEe8/Ry9RXRsFz//q5GSM4Pv4k EZYBEDnCfRXb8mHbS1zaSYkn5ZiGA3o/LT+U/Deu5/j/ZHsOe7YtbaxtphMLJr8m dxPH1RxWHR/VHarjwOf9+3W7/q3KzQjU4CE9dnma0FBkm/5H/Av+LnHm3mlnoz8M k4nFumE18OBMb3w7r/fHFTdVJRmxQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudehhedgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhohfkffgfgggjtgfgsehtjeertddtfeehnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvdhnug hquhgrughrrghnthdrtghomheqnecuggftrfgrthhtvghrnhepveeuteelvdeuudfggfev udegudfhvdekgeeufefhtdeguedugefhheeugeefhfeinecuffhomhgrihhnpedvnhguqh hurggurhgrnhhtrdgtohhmnecukfhppeelfedrvdegfedrkedvrddvgeeinecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghish gvnhhtrhgruhhtsedvnhguqhhurggurhgrnhhtrdgtohhm X-ME-Proxy: Received: from april.pezone.net (p5df352f6.dip0.t-ipconnect.de [93.243.82.246]) by mail.messagingengine.com (Postfix) with ESMTPA id EE4FA3061DC5; Tue, 9 Jun 2020 18:21:01 -0400 (EDT) Subject: Re: Logical replication stuck in catchup state To: Dan shmidt , "pgsql-general@postgresql.org" References: From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <963ab52a-5755-ce1e-738a-60bc05ed73d9@2ndquadrant.com> Date: Wed, 10 Jun 2020 00:21:00 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-06-09 23:30, Dan shmidt wrote: > We have a setup in which there are several master nodes replicating to a > single slave/backup node. We are using Postgres 11.4. > Recently, one of the nodes seems to be stuck and stopped replicating. > I did some basic troubleshooting and couldn't find the root cause for that. Have you checked the server logs? Maybe it has trouble applying a change, for example due to a unique constraint or something like that. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services