git.samba.org
/
rusty
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fde760b
)
speed startup: run startup immediately after recovery finished.
author
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 22 Jun 2010 13:20:45 +0000
(22:50 +0930)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 22 Jun 2010 13:20:45 +0000
(22:50 +0930)
Seconds between ctdbd first log message and node healthy:
BEFORE: 17.08
AFTER: 16.10
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
server/ctdb_monitor.c
patch
|
blob
|
history
diff --git
a/server/ctdb_monitor.c
b/server/ctdb_monitor.c
index 12ef36fb41730bd4a7a68bde7b1ce10e0f83f63f..9038ef0982e2c29feaa5f52a3c0e22fa28957b7c 100644
(file)
--- a/
server/ctdb_monitor.c
+++ b/
server/ctdb_monitor.c
@@
-301,7
+301,7
@@
static void ctdb_wait_until_recovered(struct event_context *ev, struct timed_eve
DEBUG(DEBUG_NOTICE,(__location__ " Recoveries finished. Running the \"startup\" event.\n"));
event_add_timed(ctdb->ev, ctdb->monitor->monitor_context,
- timeval_current
_ofs(1, 0),
+ timeval_current
(),
ctdb_check_health, ctdb);
}