Wed Jun 25 11:56:03 PDT 2008
- Previous message: [Slony1-general] Re: Slony1-general Digest, Vol 16, Issue 27
- Next message: [Slony1-general] Re: Slony1-general Digest, Vol 16, Issue 27
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Jun 25, 2008 at 12:59 PM, Christopher Browne <cbbrowne at ca.afilias.info> wrote: > You submit the subscription, but THEN you submit a SYNC event. *That* > event has got to get processed *after* the subscription work is done. > And you can wait on THAT. > > Thus: > > include <preamble.slonik>; # Pull in configuration > # Get the subscription going > subscribe set (id=1, provider=1, receiver=2, forward=yes); > > sync(id=1); # Submits a SYNC event > wait for event (origin=all, confirmed=2, wait on=1); # Waits for that event to be confirmed on node #2 > > No doubt I should add this to the documentation :-). Simple and BRILLIANT!
- Previous message: [Slony1-general] Re: Slony1-general Digest, Vol 16, Issue 27
- Next message: [Slony1-general] Re: Slony1-general Digest, Vol 16, Issue 27
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list