Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YoDjz-0003Ga-SX for pgsql-hackers@arkaria.postgresql.org; Fri, 01 May 2015 16:24:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YoDjz-0003Op-C4 for pgsql-hackers@arkaria.postgresql.org; Fri, 01 May 2015 16:24:39 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YoDjy-0003OK-4t for pgsql-hackers@postgresql.org; Fri, 01 May 2015 16:24:38 +0000 Received: from lists.commandprompt.com ([69.168.55.30]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1YoDjq-0004Wr-Aa for pgsql-hackers@postgresql.org; Fri, 01 May 2015 16:24:36 +0000 Received: from [192.168.1.3] (spinlock.commandprompt.com [69.168.55.30]) by lists.commandprompt.com (Postfix) with ESMTPA id 1180C364 for ; Fri, 1 May 2015 09:24:28 -0700 (PDT) Received: from [192.168.1.3] ([67.168.169.165] helo=[192.168.1.3]) by assp.commandprompt.com with ESMTPS(AES128-SHA) (2.1.1); 1 May 2015 09:24:28 -0700 Message-ID: <5543A8B1.4060903@commandprompt.com> Date: Fri, 01 May 2015 09:24:17 -0700 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: pgsql-hackers Subject: Replication, am I missing something Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Assp-Version: 2.1.1(11364) on assp.commandprompt.com X-Assp-Client-SSL: yes X-Assp-ID: assp.commandprompt.com m1-97468-05799 X-Assp-Envelope-From: jd@commandprompt.com X-Assp-Intended-For: pgsql-hackers@postgresql.org X-Assp-Original-Subject: Replication, am I missing something X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org -hackers, In the flurry of releases, I want to make sure I haven't missed something. Here is an example of how I will take a base backup: Origin: select pg_start_backup('my_backup',TRUE); Subscriber: rsync -auvk db1:/var/lib/pgsql/data data Origin: select pg_stop_backup(); Subscriber: remove backup_label Subscriber: start postgresql Now I know there are nuances here but the above should provide a valid, start able, postgresql on the subscriber, yes? The reason I ask goes back to the btree errors I mentioned previously. I have in the last month experienced corrupt indexes, as well as corrupt indexes/duplicates in tables on multiple customer instances. This is multiple customers, all running 9.l or 9.2 (STABLE). There is a mix of AWS/EC2, HyperV and Bare metal. They are all running Linux. In fact, at this point I can consistently produce a base backup that has corrupt indexes. I can consistently produce a base backup that has these issues if it is on bare metal, virtualized or network filesystem. So if we aren't willing to backport the 9.4 fixes (which I do understand), what do we do about this? Do we need a PSA? If this was an isolated instance, it would be one thing but I am certainly not the only person running into this. Sincerely, Joshua D. Drake -- Command Prompt, Inc. - http://www.commandprompt.com/ 503-667-4564 PostgreSQL Centered full stack support, consulting and development. Announcing "I'm offended" is basically telling the world you can't control your own emotions, so everyone else should do it for you. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers