summaryrefslogtreecommitdiffstats
path: root/ctdb/server/ctdb_tunables.c
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2013-10-28 18:49:51 +1100
committerAmitay Isaacs <amitay@gmail.com>2013-10-28 18:51:22 +1100
commitfc7f3358437b5b6d27b4e03ee477a9e7406b87e3 (patch)
tree4ca4571d1153daef7eef77f213144acbed993578 /ctdb/server/ctdb_tunables.c
parenta5c4794048e47e7db1d831adb77fb88f9e1ff8ac (diff)
downloadsamba-fc7f3358437b5b6d27b4e03ee477a9e7406b87e3.tar.gz
samba-fc7f3358437b5b6d27b4e03ee477a9e7406b87e3.tar.xz
samba-fc7f3358437b5b6d27b4e03ee477a9e7406b87e3.zip
daemon: Change the default recovery method for persistent databases
Use sequence numbers to do recovery for persistent databases instead of RSNs. This fixes the problem of registry corruption during recovery. Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit 56486d1c01cc8ad0e4b8cee7a22429e72e50f03d)
Diffstat (limited to 'ctdb/server/ctdb_tunables.c')
-rw-r--r--ctdb/server/ctdb_tunables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/server/ctdb_tunables.c b/ctdb/server/ctdb_tunables.c
index 5fb4344e2b7..4c139ea2a60 100644
--- a/ctdb/server/ctdb_tunables.c
+++ b/ctdb/server/ctdb_tunables.c
@@ -72,7 +72,7 @@ static const struct {
{ "StatHistoryInterval", 1, offsetof(struct ctdb_tunable, stat_history_interval), false },
{ "DeferredAttachTO", 120, offsetof(struct ctdb_tunable, deferred_attach_timeout), false },
{ "AllowClientDBAttach", 1, offsetof(struct ctdb_tunable, allow_client_db_attach), false },
- { "RecoverPDBBySeqNum", 0, offsetof(struct ctdb_tunable, recover_pdb_by_seqnum), false },
+ { "RecoverPDBBySeqNum", 1, offsetof(struct ctdb_tunable, recover_pdb_by_seqnum), false },
{ "DeferredRebalanceOnNodeAdd", 300, offsetof(struct ctdb_tunable, deferred_rebalance_on_node_add) },
{ "FetchCollapse", 1, offsetof(struct ctdb_tunable, fetch_collapse) },
{ "HopcountMakeSticky", 50, offsetof(struct ctdb_tunable, hopcount_make_sticky) },