Chris Browne cbbrowne at lists.slony.info
Mon Mar 17 08:12:58 PDT 2008
Update of /home/cvsd/slony1/slony1-engine/src/slon
In directory main.slony.info:/tmp/cvs-serv13810

Modified Files:
      Tag: REL_1_2_STABLE
	remote_worker.c 
Log Message:
Further patch for ACCEPT_SET race condition per Yoshiharu Mori y-mori at
sraoss.co.jp
http://lists.slony.info/pipermail/slony1-general/2008-March/007690.html



Index: remote_worker.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slon/remote_worker.c,v
retrieving revision 1.124.2.32
retrieving revision 1.124.2.33
diff -C2 -d -r1.124.2.32 -r1.124.2.33
*** remote_worker.c	7 Mar 2008 21:47:04 -0000	1.124.2.32
--- remote_worker.c	17 Mar 2008 15:12:56 -0000	1.124.2.33
***************
*** 678,685 ****
  							 "lock table %s.sl_config_lock; ",
  							 rtcfg_namespace);
- 			if (query_execute(node, local_dbconn, &query1) < 0)
- 				slon_retry();
- 			dstring_reset(&query1);
- 
  			/* start by trying to apply the lock to sl_config_lock */
  			if (strcmp(event->ev_type, "ACCEPT_SET") != 0)
--- 678,681 ----



More information about the Slony1-commit mailing list