pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: 德哥 <digoal@126.com>
To: hlinnaka@iki.fi
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13077: when standby crash and restart, it's need next timeline history file, but upstream node normal.
Date: Sat, 18 Apr 2015 08:39:02 +0800 (CST)
Message-ID: <353cd71e.13cce.14cc9f6e14b.Coremail.digoal@126.com> (raw)
In-Reply-To: <55310F6F.4070404@iki.fi>
References: <20150417035856.5198.53331@wrigleys.postgresql.org>
	<55310F6F.4070404@iki.fi>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

but in my environment, C need the new timeline file, i can see the
restore command display about copy 0000002.history from my setted dir (NFS from remote computer) use top or ps command.
And the copy message display forever.  
ps:
I restart the C compute, and NFS it's ok, recovery it's ok, and don't need the 0000002.history file.


 When postgresql crashed, it need copy new history first whatever it's really need the file?







--
公益是一辈子的事,I'm Digoal,Just Do It.




At 2015-04-17 21:49:35, "Heikki Linnakangas" <hlinnaka@iki.fi> wrote:
>On 04/17/2015 06:58 AM, digoal@126.com wrote:
>> The following bug has been logged on the website:
>>
>> Bug reference:      13077
>> Logged by:          digoal
>> Email address:      digoal@126.com
>> PostgreSQL version: 9.4.1
>> Operating system:   CentOS 6.x x64
>> Description:
>>
>> HI,
>>    I have one primary A,one standby B,another standby C receive wal from
>> upstream standby B.
>> all it's normal work and all standby catched up to A, But when the last
>> standby C crash, and then restart the standby C.
>> C need the a new timeline history, and the timeline history really not
>> exists any where, I don't promote any standby.
>> It's a BUG?
>
>If you never promoted anything, everyone is still on timeline 1. No 
>timeline history files needed.
>
>- Heikki
>


view thread (5+ messages)  latest in thread

Message-ID: <353cd71e.13cce.14cc9f6e14b.Coremail.digoal@126.com>
Permalink:  ../353cd71e.13cce.14cc9f6e14b.Coremail.digoal@126.com/
Also on:    postgresql.org/message-id/353cd71e.13cce.14cc9f6e14b.Coremail.digoal@126.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: digoal@126.com, hlinnaka@iki.fi
  Subject: Re: BUG #13077: when standby crash and restart, it's need next timeline history file, but upstream node normal.
  In-Reply-To: <353cd71e.13cce.14cc9f6e14b.Coremail.digoal@126.com>
  References: <20150417035856.5198.53331@wrigleys.postgresql.org> <55310F6F.4070404@iki.fi> <353cd71e.13cce.14cc9f6e14b.Coremail.digoal@126.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox