Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkxTc-00027x-1j for pgsql-bugs@arkaria.postgresql.org; Thu, 24 Aug 2017 19:07:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dkxTb-00065R-Kb for pgsql-bugs@arkaria.postgresql.org; Thu, 24 Aug 2017 19:07:35 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dkxTa-00062U-VN for pgsql-bugs@postgresql.org; Thu, 24 Aug 2017 19:07:35 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dkxTX-0004Ih-Qv for pgsql-bugs@postgresql.org; Thu, 24 Aug 2017 19:07:33 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 38C7020A74; Thu, 24 Aug 2017 15:07:30 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Thu, 24 Aug 2017 15:07:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=BtC21E7Qz/A03SoWRF /56QP+qGlu8kMfnew+prGuy6U=; b=RPwbjkBSoqfFw67OuBMztzrJBzqWCzFTcz /Duaw8deXcTNCWzaIAWJknxNGzuznELb6mOGJlE8GZZnCpgVBxX0fdaNFscQWSI/ s6rvj4EIghUkWUUfDHk/uoneV9XzQnxtJ9jYa7+N6xkzy281I0H79ZpJ+qV+DqO/ UYwXL7MOwgT7u9XSPT2f1bILCdggO/Hhkk1NjhQ6EywCxQalcJmlksH1RBx3XlWt UXSezsaROql4/KsTp5+M+ADyjUurBCROc8yq72C/PnMUyiHv1+CL6fNc+a4zxXCZ D2KO3oad15R5JUIsle+v12p+O3f1myT1wfe5sLg0vvOnANxCGY2w== X-ME-Sender: X-Sasl-enc: JN8zIyFifDlrCDwUoUdQy8sNCfh/E35oOlGd+RmcNmrc 1503601649 Received: from intern.anarazel.de (unknown [136.24.76.72]) by mail.messagingengine.com (Postfix) with ESMTPA id C62CC7E4F0; Thu, 24 Aug 2017 15:07:29 -0400 (EDT) Date: Thu, 24 Aug 2017 12:07:28 -0700 From: Andres Freund To: Emre Hasegeli Cc: PostgreSQL Bugs , gurkan.gur@innogames.com Subject: Re: Standby corruption after master is restarted Message-ID: <20170824190728.6c6xtgdsviueyshy@alap3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Hi, On 2017-08-24 16:50:59 +0200, Emre Hasegeli wrote: > One of our standby servers on a testing environment at InnoGames broke > today. The master and the other standby server is working fine. I > noticed that it happened right after the master had restarted. It > looks to me like the WAL file is corrupted. I wanted to check, if it > can be a bug. These were on the log file: To clarify: Is fsync=off used anywhere, and was this an OS level / hardware level restart? And just on the master, not a standby? Greetings, Andres Freund -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs