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 1h2cLj-000496-Jt for pgsql-general@arkaria.postgresql.org; Sat, 09 Mar 2019 13:49:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h2cLh-0000D5-Vt for pgsql-general@arkaria.postgresql.org; Sat, 09 Mar 2019 13:49:13 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h2cLh-00009m-5X for pgsql-general@lists.postgresql.org; Sat, 09 Mar 2019 13:49:13 +0000 Received: from ums-loy-gw1.concordia.ca ([132.205.157.20]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h2cLZ-0001wr-Th for pgsql-general@lists.postgresql.org; Sat, 09 Mar 2019 13:49:11 +0000 Received: from algol.concordia.ca (ums-sgw-mbs2.concordia.ca [132.205.123.135]) by ums-loy-gw1.concordia.ca with ESMTP id x29DmWAR017230-x29DmWAW017230 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NO) for ; Sat, 9 Mar 2019 08:49:04 -0500 Received: from UMS-SGW-MBS2.concordia.ca (132.205.123.135) by ums-sgw-mbs2.concordia.ca (132.205.123.135) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Sat, 9 Mar 2019 08:49:02 -0500 Received: from UMS-SGW-MBS2.concordia.ca ([fe80::68bb:3b0e:58cb:fd73]) by ums-sgw-mbs2.concordia.ca ([fe80::68bb:3b0e:58cb:fd73%19]) with mapi id 15.00.1365.000; Sat, 9 Mar 2019 08:49:02 -0500 From: Eric Katchan To: "pgsql-general@lists.postgresql.org" Subject: Postgres 9.6 Slave Creation Thread-Topic: Postgres 9.6 Slave Creation Thread-Index: AQHU1ny/BcHs9FIx90Cq2mjuyn1J9w== Date: Sat, 9 Mar 2019 13:49:02 +0000 Message-ID: <1552139342305.15543@concordia.ca> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [132.205.244.5] Content-Type: multipart/alternative; boundary="_000_155213934230515543concordiaca_" MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; d=concordia.ca; s=dkim-concordia_ca; c=relaxed/relaxed; h=from:to:subject:date:message-id:content-type:mime-version; bh=koiwa4IOAvVQzzZh++8DSnJO+uem2ySHSB2l9oTQAGw=; b=ipLNC1vqgT8EW6dZlhZxfiYZDRD2lzWvdbkbWD6u7qx2LbbYUhaM5i/PVRu88aFK40hKZpcSJ0jy dpftlSBgvEMoPnyRD9OroXSz+fnEvs6p5fZL24GwyTncWOSiVp1Arq0wshEpW9BvY3XsvgDT0Y9v o46v9pRZIS/qmrlPU91YTzYwq1oXBpbZ+Kl9mIlQSjM5suSaW7dp6s/hzkO1v0X257weaEvulblb gm5+HDzRABxU9AVhlmcO9pQRxE3/BebbSD2Qoj/1WpnEBk+ssVzxyfSGQwS/U9AgNCHXlswU9nCn ixsjYhT+aKXDRshuCSEtcWL4/dAd1pxzgjvwfQ== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --_000_155213934230515543concordiaca_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, We have recently upgraded our postgres cluster from 9.1 to 9.6. we are hav= ing a difficult time creating our slave server. We have encountered the "c= ontrecord is requested" error which is preventing the slave from starting u= p. We have recreated the slave , still no luck. Our master is running app= arently without issue. We did not use the pg_basebackup command but the pg_start_backup tar pg_stop_backup? How can we debug? I am afraid to stop and start our master server in case = there is data corruption and it will not start. I have however successfull= y restored the database using a pg_dump onto another machine (I understand= that this cannot be used for slave creation, I just wanted to verify that = I could restore the new upgraded db). Would it be better to use the stream= ing pg_basebackup command? Please advise. Eric --_000_155213934230515543concordiaca_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hello, 


We have recently upgraded our postgres cluster from 9.1 to 9.6.  we= are having a difficult time creating our slave server.  We have encou= ntered the "contrecord is requested" error which is preventing the slave from starting u= p.  We have recreated the slave , still no luck.  Our master is r= unning apparently without issue.  We did not use the pg_basebackup com= mand but the 


pg_start_backup

tar

pg_stop_backup​



How can we debug?  I am afraid to stop and start our master server = in case there is data corruption and it will not start.  I have howeve= r successfully restored the database using a pg_dump onto another machine&n= bsp; (I understand that this cannot be used for slave creation, I just wanted to verify that I could restore the new upgra= ded db).  Would it be better to use the streaming pg_basebackup comman= d?


Please advise.

Eric

--_000_155213934230515543concordiaca_--