Jan Wieck JanWieck
Thu Oct 26 20:22:03 PDT 2006
On 10/26/2006 3:46 PM, Andrew Sullivan wrote:
> On Thu, Oct 26, 2006 at 03:40:32PM -0400, Yoel Marrero Calderon wrote:
>> HI
>> I am making a bash program to start replication automactly.
>> but ..
>> How can I drop a cluster by command ? .
> 
> Why would you want to do that when starting automatically?  I don't
> think I understand the question.
> 

I don't think there is an efficient way to detect on startup if an 
existing configuration is healthy or not (it might be healthy but just 
out of sync, so firing up slon's might get it there).

The only way I can interpret Yoel's post is that he intends to ignore 
whatever exists on startup and reinitialize a fresh replica from scatch. 
I don't think this is a good strategy, especially when the restart might 
just be a hickup after losing the origin for good.

Yoel, please explain in detail what exactly you plan to do.


Jan

-- 
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck at Yahoo.com #



More information about the Slony1-general mailing list