Richard Yen dba at richyen.com
Fri Nov 19 07:39:17 PST 2010
I don't use WAIT all that much, but I know that it's necessary for some
actions--namely, FAIL OVER, in which I've encountered some race conditions
in the past that were resolved with a WAIT and SYNC.  It'd be nice to have
WAIT built-in to some of the slonik functions.


--Richard



On Fri, Nov 19, 2010 at 6:44 AM, Vick Khera <vivek at khera.org> wrote:

> On Fri, Nov 19, 2010 at 4:28 AM, Stuart Bishop <stuart at stuartbishop.net>
> wrote:
> >> That suggests to me there being some value to having some sort of "fail
> >> if not sufficiently up to date" command.
> >
> > Pretty much all my canned scripts start by issuing a sync and waiting
> > for it. I think it is dangerous to do otherwise. Failing with a
> > meaningful error rather than leaving sysadmins staring at a blinking
> > prompt would be preferable.
>
> Nice. What does this look like in the script?
> _______________________________________________
> Slony1-general mailing list
> Slony1-general at lists.slony.info
> http://lists.slony.info/mailman/listinfo/slony1-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.slony.info/pipermail/slony1-general/attachments/20101119/2cb03134/attachment.htm 


More information about the Slony1-general mailing list