diff options
author | Amitay Isaacs <amitay@gmail.com> | 2013-02-11 13:23:47 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2013-02-14 09:40:35 +1100 |
commit | 1d3eebbca4192515d68ed445f28c10459b44fe21 (patch) | |
tree | ee1dfb37da43a8ba8ea935f8d0bf78b73e984327 | |
parent | 6e650b6ee56dde18c745f2ad53fc66e00350d285 (diff) | |
download | samba-1d3eebbca4192515d68ed445f28c10459b44fe21.tar.gz samba-1d3eebbca4192515d68ed445f28c10459b44fe21.tar.xz samba-1d3eebbca4192515d68ed445f28c10459b44fe21.zip |
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 <amitay@gmail.com>
(This used to be ctdb commit e204fac03412520e877ab04363b3ece02667c55b)
-rw-r--r-- | ctdb/server/ctdb_tunables.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 }, |