git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95475ed
)
vacuum: disable full db-traverse vacuuming runs when VacuumFastPathCount == 0
author
Michael Adam
<obnox@samba.org>
Mon, 20 Dec 2010 20:30:39 +0000
(21:30 +0100)
committer
Michael Adam
<obnox@samba.org>
Wed, 9 Mar 2011 23:37:02 +0000
(
00:37
+0100)
server/ctdb_vacuum.c
patch
|
blob
|
history
diff --git
a/server/ctdb_vacuum.c
b/server/ctdb_vacuum.c
index 28d9a9361761629f875b6afc8111c6cb2c997dde..ee3b221b63ecb8e6117d3c8448c5a3f4519dadb7 100644
(file)
--- a/
server/ctdb_vacuum.c
+++ b/
server/ctdb_vacuum.c
@@
-1070,7
+1070,9
@@
ctdb_vacuum_event(struct event_context *ev, struct timed_event *te,
/*
* repack the db
*/
- if (vacuum_handle->fast_path_count == 0) {
+ if ((ctdb->tunable.vacuum_fast_path_count > 0) &&
+ (vacuum_handle->fast_path_count == 0))
+ {
full_vacuum_run = true;
}
cc = ctdb_vacuum_and_repack_db(ctdb_db, child_ctx,