Steve Singer ssinger at ca.afilias.info
Wed Sep 28 08:29:11 PDT 2011
On 11-09-28 11:06 AM, Stuart Bishop wrote:
> On Wed, Sep 28, 2011 at 9:10 PM, Steve Singer<ssinger at ca.afilias.info>  wrote:
>> On 11-09-27 03:31 AM, Stuart Bishop wrote:
>>
>> I don't recognize it as a known issue, it might be an unknown issue
>> unrelated to the packaging.  You don't tell us what version of Slony you are
>> using or provide the contents of your u2_newslave.sk so we know what slonik
>> commands are being run at which line.
>
> Its version 2.0.7
>
> u2_newslave.sk:
>
>      include<u2_preamble.sk>;
>      include<gen_newslave.sk>;


I can't replicate your issue but looking at the code I think I can see 
how using multiple includes can hit a bug that would sometimes result in 
your output.

I have created a bug for this and put my thoughts in at 
http://bugs.slony.info/bugzilla/show_bug.cgi?id=241

Thanks for the report.



>
>
> u2_preamble.sk:
>
>      cluster name = sl;
>
>      define node1_conninfo 'blah blah blah';
>      define node2_conninfo 'more blah';
>
>      node 1 admin conninfo = @node1_conninfo;
>      node 2 admin conninfo = @node2_conninfo;
>
>
> gen_newslave.sk:
>
>      include<gen_sync.sk>;
>
>      echo 'Adding node 2';
>      store node (id=2, comment=@node2_conninfo, event node=1);
>      echo 'Creating paths';
>      store path (server=1, client=2, conninfo=@node1_conninfo);
>      store path (server=2, client=1, conninfo=@node2_conninfo);
>      include<gen_sync.sk>;
>
>      echo 'Subscribing node 2';
>      subscribe set (id=1,provider=1,receiver=2,forward=yes);
>      wait for event (origin=1, confirmed=all, wait on=1, timeout=0);
>      echo 'Subscription created. Slave is copying data. Master can go live.';
>
>
> gen_sync.sk:
>
>      echo 'Waiting for sync';
>      sync (id=1);
>      wait for event (origin=1, confirmed=all, wait on=1, timeout=0);
>      echo 'Synced';
>
>
>



More information about the Slony1-general mailing list