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 1kr3oU-00042I-TL for pgsql-general@arkaria.postgresql.org; Sun, 20 Dec 2020 18:52:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kr3oT-0007HZ-Ht for pgsql-general@arkaria.postgresql.org; Sun, 20 Dec 2020 18:52:13 +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 1kr3oT-0007HR-9w for pgsql-general@lists.postgresql.org; Sun, 20 Dec 2020 18:52:13 +0000 Received: from mail.arise.pl ([77.79.204.235]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kr3oM-0007dX-6l for pgsql-general@lists.postgresql.org; Sun, 20 Dec 2020 18:52:12 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.arise.pl (Postfix) with ESMTP id 194D934D4EA for ; Sun, 20 Dec 2020 19:52:03 +0100 (CET) Received: from mail.arise.pl ([127.0.0.1]) by localhost (mail1.arise [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id MUioURKZvuc4 for ; Sun, 20 Dec 2020 19:52:02 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.arise.pl (Postfix) with ESMTP id 393D134D4F4 for ; Sun, 20 Dec 2020 19:52:02 +0100 (CET) X-Virus-Scanned: amavisd-new at arise.pl Received: from mail.arise.pl ([127.0.0.1]) by localhost (mail1.arise [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 5L7xsn2Qjv5a for ; Sun, 20 Dec 2020 19:52:02 +0100 (CET) Received: from mail1.arise (mail1.arise [172.16.198.9]) by mail.arise.pl (Postfix) with ESMTP id 05C7834D4EA for ; Sun, 20 Dec 2020 19:52:02 +0100 (CET) Date: Sun, 20 Dec 2020 19:52:01 +0100 (CET) From: Marcin Giedz To: pgsql-general Message-ID: <654901459.1968500.1608490321788.JavaMail.zimbra@arise.pl> Subject: some questions regarding replication issues and timeline/history files MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1968499_1568534025.1608490321788" X-Mailer: Zimbra 8.6.0_GA_1153 (ZimbraWebClient - FF84 (Linux)/8.6.0_GA_1153) Thread-Topic: some questions regarding replication issues and timeline/history files Thread-Index: 8OG2S5cZYh5kmoligl1rTtx//2Z0vQ== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_1968499_1568534025.1608490321788 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hello, I've created synchronous replication between Primary and Secondary server and put pacemaker + PAF over. Client is doing some stress tests (switching nodes, disabling particular node, etc) and it's second time when this kind of problem occoures : 2020-12-18 14:03:46.658 CET [unknown] [28787]ERROR: requested starting point F/A2000000 on timeline 39 is not in this server's history 2020-12-18 14:03:46.658 CET [unknown] [28787]DETAIL: This server's history forked from timeline 39 at F/A1023338. questions: 1. what does this mean ? How this can happen ? Does this mean that for some "point in time" both servers were primary ? 2. in xxx.history files I find the following rows: 43 F/A60000A0 no recovery target specified 44 F/A70000A0 no recovery target specified 45 F/A80000A0 no recovery target specified again: what does this mean ? 3. general question: can anyone suggest deep explanation of timelines and history files to understand how this postgresql nature works ? Many thx Marcin ------=_Part_1968499_1568534025.1608490321788 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hello,

I've created synchronous replication between Primary and Sec= ondary server and put pacemaker + PAF over. Client is doing some stress tes= ts (switching nodes, disabling particular node, etc) and it's second time w= hen this kind of problem occoures :

2020-12-18 14:03:46.658 CET [unknown] [2878= 7]ERROR:  requested starting point F/A2000000 on timeline 39 is not in= this server's history
2020-12-18 14:03:46.658 CET [unknown] [28787]DETA= IL:  This server's history forked from timeline 39 at F/A1023338.

questions:
1. what does this mean ? How this can happen ? Does this mean = that for some "point in time" both servers were primary ?
2. in xxx.history files I find the following rows:
43&= nbsp;     F/A60000A0      no r= ecovery target specified
44      F/A70000A0&nbs= p;     no recovery target specified
45  &n= bsp;   F/A80000A0      no recovery targe= t specified

again: what does this mean ?

3. general question:= can anyone suggest deep explanation of timelines and history files to unde= rstand how this postgresql nature works ?



Many thx
Marcin
------=_Part_1968499_1568534025.1608490321788--