Glyn Astill glynastill at yahoo.co.uk
Wed Jun 8 04:05:15 PDT 2011
Hi Guys,

Last week we upgraded from 1.2.22 to 2.0.6 and today I'm trying to move a set from one node to another.  I'm using my own set of scripts that I've been using for years with 1.2.22, however when I wait for event after lock set I get the message "Error: script did not generate any event on node 1"


Below is the script I'm running:

        ECHO 'ATTEMPT: Lock the set and wait for the lock:';
        LOCK SET ( ID = 1, ORIGIN = 1);
        ECHO 'ATTEMPT: Waiting for confirm on all nodes:';
        WAIT FOR EVENT (ORIGIN = 1, CONFIRMED = ALL, WAIT ON = 1, TIMEOUT = 0);

I know we now can't run wait for event in a try block, but what's changed and what am I doing wrong here?


Thanks
Glyn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.slony.info/pipermail/slony1-general/attachments/20110608/03ba02eb/attachment.htm 


More information about the Slony1-general mailing list