speed startup: add --sloppy-start.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 22 Jun 2010 13:22:34 +0000 (22:52 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 22 Jun 2010 13:22:34 +0000 (22:52 +0930)
commit509e2e89ae233a0e91998d95267bf62f296a73cd
tree66e4016006497187667c9dd72d4991e070ab38f4
parent372201d418f041d69646793105f6898ab12a7d91
speed startup: add --sloppy-start.

The extra recovery interval wait was introduced in 821333afb458 but no
explanation was provided in that message.  Nonetheless, if starting
the entire cluster for the first time, it should be safe to skip this.

We use the commandline arg --sloppy-start which should discourage
people from using it outside testing.

Seconds between ctdbd first log message and node healthy:
BEFORE: 16.10
AFTER: 4.03

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/ctdb_private.h
server/ctdb_monitor.c
server/ctdbd.c