Chris Browne cbbrowne at lists.slony.info
Wed Feb 28 14:07:51 PST 2007
Update of /home/cvsd/slony1/slony1-engine/src/slonik
In directory main:/tmp/cvs-serv3776/src/slonik

Modified Files:
      Tag: REL_1_1_STABLE
	slonik.c 
Log Message:
- When you run MOVE SET, this populates sl_setsync for the moved set
  even on nodes that are not subscribed.  If, subsequent to doing this, 
  you attempt a SUBSCRIBE SET for a formerly-unsubscribed node, the
  subscription will fail right at the end when the slon tries to insert a
  new value to sl_setsync.

  The fix: DELETE from sl_setsync immediately before the INSERT.  This
  will silently blow away any 'offending' sl_setsync row.

As observed by Afilias staff...


Index: slonik.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slonik/slonik.c,v
retrieving revision 1.42.2.7
retrieving revision 1.42.2.8
diff -C2 -d -r1.42.2.7 -r1.42.2.8
*** slonik.c	5 Feb 2007 22:03:30 -0000	1.42.2.7
--- slonik.c	28 Feb 2007 22:07:49 -0000	1.42.2.8
***************
*** 2747,2751 ****
  
  	/*
! 	 * Wait until all slon replication engines that where running have
  	 * restarted.
  	 */
--- 2747,2751 ----
  
  	/*
! 	 * Wait until all slon replication engines that were running have
  	 * restarted.
  	 */



More information about the Slony1-commit mailing list