Replicate to more than one replica?

David Korpiewski davidk at cs.umass.edu
Wed Jun 7 15:25:01 EDT 2006



> My problem at the moment is that if you can't contact the replica then the
> master doesn't even [expletive] start, which is just insane.  I've attached
> a patch that fixes that in a pretty hacky way - but still has global
> connection objects.  I don't think it's worthy of inclusion upstream until
> I make it more flexible.
> 
> This patch also includes a command line option '-o' to sync_client which
> allows you to run it from the command line even if the replica isn't running
> and it will only attempt to connect once rather than spend 1000 seconds
> backing off trying to get a connection.  I'm using that option in the master
> shutdown script - after closing down the server I run:
> 


Thanks for the info.  I actually had one of my programmers take a stab 
at this and he wrote in a patch that allows me to specify a time period 
in which the sync_client will poll the sync_server and then die after 
the time period has passed.   He's coding in an option to let it poll 
indefinitely and continue logging as I write this.   Although we aren't 
going to suggest it get added to the distribution at this point because 
he is leaving on a long long vacation :)



-- 
--------------------------------------------------------
David Korpiewski                     Phone: 413-545-4319
Software Specialist I                Fax:   413-577-2285
Department of Computer Science       ICQ:   7565766
University of Massachusetts Amherst
--------------------------------------------------------



More information about the Info-cyrus mailing list