From 1d3eebbca4192515d68ed445f28c10459b44fe21 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Mon, 11 Feb 2013 13:23:47 +1100 Subject: ctdbd: Fix the PullDBPreallocation size to 10MB as intended In 1f262deaad0818f159f9c68330f7fec121679023, Ronnie changed recovery code to allocate chunks of 10MB in traverse_pulldb() and traverse_recdb(). The tunable PullDBPreallocation size was set to 100MB. Signed-off-by: Amitay Isaacs (This used to be ctdb commit e204fac03412520e877ab04363b3ece02667c55b) --- ctdb/server/ctdb_tunables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctdb/server/ctdb_tunables.c b/ctdb/server/ctdb_tunables.c index b86d6d2663..aa3115d37b 100644 --- a/ctdb/server/ctdb_tunables.c +++ b/ctdb/server/ctdb_tunables.c @@ -83,7 +83,7 @@ static const struct { { "DBRecordCountWarn", 100000, offsetof(struct ctdb_tunable, db_record_count_warn), false }, { "DBRecordSizeWarn", 10000000, offsetof(struct ctdb_tunable, db_record_size_warn), false }, { "DBSizeWarn", 100000000, offsetof(struct ctdb_tunable, db_size_warn), false }, - { "PullDBPreallocation", 10*1024*10240, offsetof(struct ctdb_tunable, pulldb_preallocation_size), false }, + { "PullDBPreallocation", 10*1024*1024, offsetof(struct ctdb_tunable, pulldb_preallocation_size), false }, { "NoIPTakeoverOnDisabled", 0, offsetof(struct ctdb_tunable, no_ip_takeover_on_disabled), false }, { "DeadlockTimeout", 300, offsetof(struct ctdb_tunable, deadlock_timeout), false }, { "Samba3AvoidDeadlocks", 0, offsetof(struct ctdb_tunable, samba3_hack), false }, -- cgit