Track how long it takes to take out the recovery lock from both the main dameon and...
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 14 May 2009 00:33:25 +0000 (10:33 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 14 May 2009 00:33:25 +0000 (10:33 +1000)
commit042377ed803bb8f7ca9d6ea1a387427b7b8ba45a
treef8e7cd1ee5d45067e7829f695c5cbdd6c2605244
parent82ee458329968001bb03b2aec42e65f532f007b3
Track how long it takes to take out the recovery lock from both the main dameon and also from the recovery daemon.
Log this in "ctdb statistics".

Also add a varaible "RecLockLatencyMs" that will log an error everytime it takes longer than this to access the reclock file.
client/ctdb_client.c
common/ctdb_util.c
include/ctdb_private.h
server/ctdb_control.c
server/ctdb_recover.c
server/ctdb_recoverd.c
server/ctdb_tunables.c
tools/ctdb.c