Jan Wieck wieck at lists.slony.info
Thu Jun 14 08:17:47 PDT 2007
Update of /home/cvsd/slony1/slony1-engine/src/slon
In directory main.slony.info:/tmp/cvs-serv17874

Modified Files:
      Tag: REL_1_2_STABLE
	remote_worker.c 
Log Message:
On copy_set() check that we have forwarded the confirmation of 
ENABLE_SUBSCRIPTIOND by the data provider only if the data provider 
is not the origin of the set.

Jan


Index: remote_worker.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slon/remote_worker.c,v
retrieving revision 1.124.2.14
retrieving revision 1.124.2.15
diff -C2 -d -r1.124.2.14 -r1.124.2.15
*** remote_worker.c	31 May 2007 13:29:48 -0000	1.124.2.14
--- remote_worker.c	14 Jun 2007 15:17:45 -0000	1.124.2.15
***************
*** 1195,1199 ****
  						 * synced up far enough.
  						 */
! 						if (event->event_provider != sub_provider)
  						{
  							int64		prov_seqno = get_last_forwarded_confirm(
--- 1195,1200 ----
  						 * synced up far enough.
  						 */
! 						if (event->ev_origin != sub_provider &&
! 							event->event_provider != sub_provider)
  						{
  							int64		prov_seqno = get_last_forwarded_confirm(



More information about the Slony1-commit mailing list