Re: Replicate to more than one replica?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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
--------------------------------------------------------

----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux