<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&#39;t use WAIT all that much, but I know that it&#39;s necessary for some actions--namely, FAIL OVER, in which I&#39;ve encountered some race conditions in the past that were resolved with a WAIT and SYNC.  It&#39;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">&lt;<a href="mailto:vivek@khera.org">vivek@khera.org</a>&gt;</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 &lt;<a href="mailto:stuart@stuartbishop.net">stuart@stuartbishop.net</a>&gt; wrote:<br>
&gt;&gt; That suggests to me there being some value to having some sort of &quot;fail<br>
&gt;&gt; if not sufficiently up to date&quot; command.<br>
&gt;<br>
&gt; Pretty much all my canned scripts start by issuing a sync and waiting<br>
&gt; for it. I think it is dangerous to do otherwise. Failing with a<br>
&gt; meaningful error rather than leaving sysadmins staring at a blinking<br>
&gt; 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>