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 1kLYDM-0008Uz-BY for pgsql-bugs@arkaria.postgresql.org; Thu, 24 Sep 2020 20:51:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kLYDK-0002Tx-TS for pgsql-bugs@arkaria.postgresql.org; Thu, 24 Sep 2020 20:51:38 +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 1kLYDK-0002Tp-KM for pgsql-bugs@lists.postgresql.org; Thu, 24 Sep 2020 20:51:38 +0000 Received: from mail.postgrespro.ru ([93.174.131.139]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kLYDH-0001Rx-Sq for pgsql-bugs@postgresql.org; Thu, 24 Sep 2020 20:51:37 +0000 Received: from [192.168.1.6] (109-252-84-199.nat.spd-mgts.ru [109.252.84.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mail.postgrespro.ru (Postfix) with ESMTPSA id C82C321C37DA for ; Thu, 24 Sep 2020 23:51:34 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1600980694; bh=PoJxHQdZJqZAIW6a1xGJzSYfrJjE4j5Ns08KKi5eMgM=; h=To:From:Subject:Date; b=dwk6zHINSL95wMBxYZ/+novi920uGBtTbkTPzXUnkvSR6S94aw4ikf3GlwK5S8WjV +bhSgB+GaF0PaMAqR8FLS0V5Nall+qv4HX+7KmUd+8XWxwSKyNwspeqMIVip/5J5CJ MokLZoVXaeI6d54Ba8L72n6ZZaQsiU4tlsp24fa8= To: Pg Bugs From: Grigory Smolkin Subject: PG13 pg_receivewal failing Message-ID: <549e0057-05dc-9310-92c7-45bf93a3a192@postgrespro.ru> Date: Thu, 24 Sep 2020 23:51:34 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello! I`ve encountered the following error when trying to stream WAL via pg_receivewal: pg_receivewal -p 11770 --synchronous -D /wal/node -v pg_receivewal: starting log streaming at 0/1000000 (timeline 1) pg_receivewal: error: unexpected termination of replication stream: ERROR:  requested WAL segment 000000010000000000000001 has already been removed pg_receivewal: disconnected; waiting 5 seconds to try again Is there something awry with start position calculation, or am I doing something wrong? -- Grigory Smolkin Postgres Professional: http://www.postgrespro.com The Russian Postgres Company