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

Modified Files:
	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.143
retrieving revision 1.144
diff -C2 -d -r1.143 -r1.144
*** remote_worker.c	7 Jun 2007 13:01:10 -0000	1.143
--- remote_worker.c	14 Jun 2007 15:17:55 -0000	1.144
***************
*** 1194,1198 ****
  						 * synced up far enough.
  						 */
! 						if (event->event_provider != sub_provider)
  						{
  							int64		prov_seqno = get_last_forwarded_confirm(
--- 1194,1199 ----
  						 * 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