<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="1038.35">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Times New Roman'}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Times New Roman'; min-height: 15.0px}
</style>
<p class="p1">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.</p>
<p class="p2"><br></p>
<p class="p1">--Richard</p>
<p class="p2"><br></p><br><div class="gmail_quote">On Fri, Nov 19, 2010 at 6:44 AM, Vick Khera <span dir="ltr"><<a href="mailto:vivek@khera.org">vivek@khera.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Fri, Nov 19, 2010 at 4:28 AM, Stuart Bishop <<a href="mailto:stuart@stuartbishop.net">stuart@stuartbishop.net</a>> wrote:<br>
>> That suggests to me there being some value to having some sort of "fail<br>
>> if not sufficiently up to date" command.<br>
><br>
> Pretty much all my canned scripts start by issuing a sync and waiting<br>
> for it. I think it is dangerous to do otherwise. Failing with a<br>
> meaningful error rather than leaving sysadmins staring at a blinking<br>
> prompt would be preferable.<br>
<br>
</div>Nice. What does this look like in the script?<br>
<div><div></div><div class="h5">_______________________________________________<br>
Slony1-general mailing list<br>
<a href="mailto:Slony1-general@lists.slony.info">Slony1-general@lists.slony.info</a><br>
<a href="http://lists.slony.info/mailman/listinfo/slony1-general" target="_blank">http://lists.slony.info/mailman/listinfo/slony1-general</a><br>
</div></div></blockquote></div><br>