Rev 742: changed default vacuum limit in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Tue Jan 8 21:28:20 GMT 2008


------------------------------------------------------------
revno: 742
revision-id:tridge at samba.org-20080108212818-8x0igfju4as4v4ee
parent: tridge at samba.org-20080108120243-s1ftuplc981ix1ua
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge.stable
timestamp: Wed 2008-01-09 08:28:18 +1100
message:
  changed default vacuum limit
modified:
  tools/ctdb_vacuum.c            ctdb_vacuum.c-20080108053634-3zs2bdddzs4r1e1t-1
=== modified file 'tools/ctdb_vacuum.c'
--- a/tools/ctdb_vacuum.c	2008-01-08 12:02:43 +0000
+++ b/tools/ctdb_vacuum.c	2008-01-08 21:28:18 +0000
@@ -608,7 +608,8 @@
 {
 	struct ctdb_dbid_map *dbmap=NULL;
 	int ret, i;
-	uint32_t repack_limit = 100;
+	/* a reasonable default limit to prevent us using too much memory */
+	uint32_t repack_limit = 10000; 
 
 	if (argc > 0) {
 		repack_limit = atoi(argv[0]);



More information about the samba-cvs mailing list