ports/77312: fix bug in slon daemon
Vivek Khera
vivek at khera.org
Wed Feb 9 16:50:20 UTC 2005
>Number: 77312
>Category: ports
>Synopsis: fix bug in slon daemon
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 09 16:50:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Vivek Khera
>Release: FreeBSD 5.3-STABLE amd64
>Organization:
>Environment:
System: FreeBSD yertle.int.kciLink.com 5.3-STABLE FreeBSD 5.3-STABLE #0: Fri Jan 7 16:42:37 EST 2005 khera at yertle.int.kciLink.com:/usr/obj/usr/src/sys/YERTLE amd64
>Description:
The "slon" daemon performs many actions in the replication. One of those
contained a bug which caused large replication backlog to perform extremely
poorly. The patch below pulls in the bug fix from the CVS version of slony.
>How-To-Repeat:
>Fix:
diff -Pru slony1/Makefile slony1.new/Makefile
--- slony1/Makefile Mon Jan 31 12:58:39 2005
+++ slony1.new/Makefile Wed Feb 9 11:45:47 2005
@@ -7,7 +7,7 @@
PORTNAME= slony1
PORTVERSION= 1.0.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= http://developer.postgresql.org/~wieck/slony1/download/
diff -Pru slony1/files/patch-cleanupthread slony1.new/files/patch-cleanupthread
--- slony1/files/patch-cleanupthread Wed Dec 31 19:00:00 1969
+++ slony1.new/files/patch-cleanupthread Wed Feb 9 11:44:58 2005
@@ -0,0 +1,17 @@
+Index: src/slon/cleanup_thread.c
+===================================================================
+RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/cleanup_thread.c,v
+retrieving revision 1.13.2.4
+retrieving revision 1.13.2.5
+diff -u -r1.13.2.4 -r1.13.2.5
+--- cleanup_thread.c 30 Sep 2004 17:45:06 -0000 1.13.2.4
++++ cleanup_thread.c 12 Jan 2005 03:15:36 -0000 1.13.2.5
+@@ -145,7 +145,7 @@
+ "delete from %s.sl_log_1 "
+ "where log_origin = '%s' "
+ "and log_xid < '%s'; "
+- "delete from %s.sl_log_1 "
++ "delete from %s.sl_log_2 "
+ "where log_origin = '%s' "
+ "and log_xid < '%s'; "
+ "delete from %s.sl_seqlog "
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list