Date: Wed, 9 Feb 2005 11:49:58 -0500 (EST) From: Vivek Khera <vivek@khera.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/77312: fix bug in slon daemon Message-ID: <20050209164958.CC35FB833@yertle.kcilink.com> Resent-Message-ID: <200502091650.j19GoJWY009452@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050209164958.CC35FB833>