Make deterministic ips off by the default.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 21 Jul 2010 03:09:04 +0000 (12:39 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 21 Jul 2010 03:09:04 +0000 (12:39 +0930)
The git log makes it clear that it's mainly useful for debugging; we
should turn it off in production to minimize IP address movement.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
server/ctdb_tunables.c

index d1c7212575c69adc532c555bdac5252c761f52e5..33bb1565a9cb2330cb26f5364b74c9c76c9097d9 100644 (file)
@@ -47,7 +47,7 @@ static const struct {
        { "DatabaseMaxDead",      5,  offsetof(struct ctdb_tunable, database_max_dead) },
        { "RerecoveryTimeout",   10,  offsetof(struct ctdb_tunable, rerecovery_timeout) },
        { "EnableBans",           1,  offsetof(struct ctdb_tunable, enable_bans) },
-       { "DeterministicIPs",     1,  offsetof(struct ctdb_tunable, deterministic_public_ips) },
+       { "DeterministicIPs",     0,  offsetof(struct ctdb_tunable, deterministic_public_ips) },
        { "ReclockPingPeriod",   60,  offsetof(struct ctdb_tunable,  reclock_ping_period) },
        { "NoIPFailback",         0,  offsetof(struct ctdb_tunable, no_ip_failback) },
        { "VerboseMemoryNames",   0,  offsetof(struct ctdb_tunable, verbose_memory_names) },