STATISTICS: add total counts for number of delegations and number of revokes
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 8 Feb 2012 02:42:30 +0000 (13:42 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 8 Feb 2012 02:42:30 +0000 (13:42 +1100)
commitb098bcf8007be63889aaed640a951b0eeaa9d191
tree182f891e220ef7f4185459bd5202ce2042ceb898
parent3e5d2b61fcb4d0062d2573d99724f630a4fc4622
STATISTICS: add total counts for number of delegations and number of revokes

Everytime we give a delegation to another node we count this as one delegation.
If the same record is delegated to several nodes we count one for each node.

Everytime a record has all its delegations revoked we count this as one revoke.
include/ctdb_protocol.h
server/ctdb_call.c
server/ctdb_daemon.c
tools/ctdb.c