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 1odtsq-0001im-91 for pgsql-general@arkaria.postgresql.org; Thu, 29 Sep 2022 13:47:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1odtso-0000gN-Ng for pgsql-general@arkaria.postgresql.org; Thu, 29 Sep 2022 13:47:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1odtD3-0007Hd-1k for pgsql-general@lists.postgresql.org; Thu, 29 Sep 2022 13:04:13 +0000 Received: from mta1.nexign.com ([91.210.7.4]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1odtD0-0003eB-Sz for pgsql-general@lists.postgresql.org; Thu, 29 Sep 2022 13:04:12 +0000 Received: from mta1.nexign.com (localhost [127.0.0.1]) by mta1.nexign.com (Postfix) with ESMTP id EAFC7100008; Thu, 29 Sep 2022 16:04:09 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexign.com; s=mta; t=1664456650; bh=cBd0i3MTUBJg92wPAGFZ+ptyz+8WN5fsE1vYeVw7EH4=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=pn41ybSHhm49aZZP11/pdDFFB2V92nv3S7TFgy30j7HgXleOL6q/T4qwWsKCtNjSX GjhCnfwsPKIFOkiwGFi6/Pud8C/RQ/IaUvlG/4CeZCPG6oUnKgIp1ioQul3DU26Q/e QrREkagUkm3FAPPOvcGjdRzC6inHySFKJeZKWtEkQei5Om5JaPBhf8wG9PqZr25tGu BItCXUbG3xhxLvSAF9h+1heeEWiryLTD3yyhtgQpKC0SbP2vPCR9JOVzSoaIdUl+7u /Acq8HPI+m1MsG6B0HT4z4yz/8mHeBylhPW57+pYB+Sjj4gwcDqYynYRKUKo1Q56t9 HdVq+QfuH+PRA== Received: from srv-exch2.billing.ru (srv-exch2.billing.ru [172.25.0.123]) by mta1.nexign.com (Postfix) with ESMTP; Thu, 29 Sep 2022 16:04:09 +0300 (MSK) Received: from srv-exch2.billing.ru (172.25.0.123) by srv-exch2.billing.ru (172.25.0.123) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.9; Thu, 29 Sep 2022 16:04:08 +0300 Received: from srv-exch2.billing.ru ([fe80::7c5f:8e84:d74e:234d]) by srv-exch2.billing.ru ([fe80::7c5f:8e84:d74e:234d%8]) with mapi id 15.02.1118.009; Thu, 29 Sep 2022 16:04:08 +0300 From: "Lahnov, Igor" To: Kyotaro Horiguchi CC: "pgsql-general@lists.postgresql.org" , "Timonin, Alexey" , "Dmitriyev, Andrey" Subject: RE: Streaming wal from primiry terminating Thread-Topic: Streaming wal from primiry terminating Thread-Index: AdjTCfFNRO036lZQSg2UGTaCa3JUXQAjM90AAA4OhwA= Date: Thu, 29 Sep 2022 13:04:08 +0000 Message-ID: <277e0adcfd614026bfddcc9c8e6784a5@nexign.com> References: <20220929.120224.149621262465572278.horikyota.ntt@gmail.com> In-Reply-To: <20220929.120224.149621262465572278.horikyota.ntt@gmail.com> Accept-Language: ru-RU, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.93.38] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-KSMG-Rule-ID: 14 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiPhishing: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 1.1.2.30, bases: 2022/09/29 09:18:00 #20399090 X-KSMG-AntiVirus-Status: Clean, skipped List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Primary_conninfo is set in postgresql.conf The reason is definitely something else, we do not know what. This is fatal= in this case. > 2022-09-26 14:08:24.366 [3747796] LOG: invalid record length at 1473/A5FF= EE08: wanted 24, got 0 > 2022-09-26 14:08:24.366 [3747796] LOG: invalid record length at 1473/A5FF= EE08: wanted 24, got 0 LSN 1473/A5FFEE08 does not need to be read, according data from the followi= ng log file rmgr: XLOG len (rec/tot): 42/ 42, tx: 0, lsn: 1473/A6000028, prev 1473/A5FF= D070, desc: OVERWRITE_CONTRECORD lsn 1473/A5FFEE08; time 2022-09-26 11:36:5= 8.104667 MSK