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>
Tue, 2 Jun 2009 07:54:01 +0000 (17:54 +1000)
commite550c7b3c6c2f444a02d85f19e41ee7f3d4149b1
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