Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T4AEN-0002uv-OR for pgsql-bugs@postgresql.org; Wed, 22 Aug 2012 12:40:19 +0000 Received: from moutng.kundenserver.de ([212.227.17.9]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T4AEJ-00086I-Aq for pgsql-bugs@postgresql.org; Wed, 22 Aug 2012 12:40:19 +0000 Received: from alap2.localnet (p5DDC5F7B.dip.t-dialin.net [93.220.95.123]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0McxnO-1TMF4w2KfK-00IDxe; Wed, 22 Aug 2012 14:40:12 +0200 From: Andres Freund Organization: 2ndQuadrant.com To: Maxim Boguk Subject: Re: BUG #7500: hot-standby replica crash after an initial rsync Date: Wed, 22 Aug 2012 14:40:11 +0200 User-Agent: KMail/1.13.7 (Linux/3.5.0-rc3-andres-00231-g002b758; KDE/4.8.4; x86_64; ; ) Cc: pgsql-bugs@postgresql.org References: <201208221133.35698.andres@2ndquadrant.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201208221440.11558.andres@2ndquadrant.com> X-Provags-ID: V02:K0:C2EMsfkH7xcA5mXSbhajoPqaUZJbam/ljQN2dary59r FHwqK5myPZPsdZcGedzwpudQsm46n+AVrzHQ16hnaWBi6tRt1V sSWb+WCEK7mFC8PqiGIwW4CVEMJFKtbgZB6DYmQR0iZ2qqdS2a HcRK1eZsHPH4U05s0ECh+OWVyIGRXTONajU4KME2Vdtl/1xtPg eraG/liRiactw0VV4LazLDogZpB9NAhwJo0/64uxmz9kCc4rkQ sxJmqpvZZhF1y1MLNnloDH5xR4AAmozM8LtoUAr1oiIwMp13z2 9QD1r6FHNtZyvUwnpXVNZbI/hKhNgjdSyg3Z17cNLAI4Si6CCj fzP+n9Pi9yb5YQh8eWBrXS2yRIjW9QuH7Avap9yYjvTuuesZEF czgpz6BNTKzSA== X-Pg-Spam-Score: 1.7 (+) X-Archive-Number: 201208/159 X-Sequence-Number: 33883 On Wednesday, August 22, 2012 12:08:25 PM Maxim Boguk wrote: > > > Does that mean that file was damaged during rsync? > > > > Not necessarily. When did you initially set up that cluster? Normally the > > file > > should get zeroed out before its being used. If the cluster was copied > > improperly (i.e. no pg_start/stop backup or such) it could easily happen. > > But > > I would guess that you did it properly? > > That server was master before planned switchover to replica server was > performed. But it was never started up before, do I understand that correctly? Greetings, Andres -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services