Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WfSOB-0006Ut-BM for pgsql-bugs@arkaria.postgresql.org; Wed, 30 Apr 2014 11:09:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WfSOA-0003As-Gs for pgsql-bugs@arkaria.postgresql.org; Wed, 30 Apr 2014 11:09:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WfSO6-00033r-OT for pgsql-bugs@postgresql.org; Wed, 30 Apr 2014 11:09:18 +0000 Received: from smtp-outbound-2.vmware.com ([208.91.2.13]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WfSO1-0003oS-FT for pgsql-bugs@postgresql.org; Wed, 30 Apr 2014 11:09:17 +0000 Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id ECF3D2A4B3; Wed, 30 Apr 2014 04:09:09 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (zcs-prod-ext-mta-1.vmware.com [10.113.62.223]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id EB4A340F72; Wed, 30 Apr 2014 04:09:09 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTP id E9A6912002A; Wed, 30 Apr 2014 04:09:11 -0700 (PDT) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTPSA; Wed, 30 Apr 2014 04:09:11 -0700 (PDT) Message-ID: <5360D9D3.4030705@vmware.com> Date: Wed, 30 Apr 2014 14:09:07 +0300 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.4.0 MIME-Version: 1.0 To: Sean Keefe , Pg Bugs Subject: Re: BUG #10142: Downstream standby indefinitely waits for an old WAL log in new timeline on WAL Cascading replicatio References: <20140425174336.2721.61539@wrigleys.postgresql.org> <535F538E.9020206@vmware.com> 162a0e088fa2795f5206674a745afe15@mail.gmail.com <27b5b5ae6f7791f3f99b0c6873dc120d@mail.gmail.com> In-Reply-To: <27b5b5ae6f7791f3f99b0c6873dc120d@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -7.6 (-------) 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 (cc'ing pgsql-bugs, please keep the mailing list cc'd so that others can join in the discussion) On 04/29/2014 05:50 PM, Sean Keefe wrote: > Also it seems that you were setting up streaming based replication not file > based replication that we were using. I wanted to point this out. Ah, you mentioned "cascading replication" in the subject, and I assumed that you meant the built-in streaming cascading replication feature. But from the scripts, I see that you're using pg_standby, and rsync for the cascade. pg_standby is not the recommended way to set up replication anymore. Since version 9.0, there is a built-in standby feature that can be used in file-based mode too. See http://www.postgresql.org/docs/9.2/static/warm-standby.html#STANDBY-SERVER-SETUP. I don't know if pg_standby can be made to work across timeline switches. - Heikki -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs