diff options
| author | Amitay Isaacs <amitay@gmail.com> | 2013-06-25 15:25:16 +1000 |
|---|---|---|
| committer | Amitay Isaacs <amitay@gmail.com> | 2013-07-10 14:33:18 +1000 |
| commit | d36aa928fd3bbdd55d429bb5abe4a67c0f875a8d (patch) | |
| tree | ce37e71241216c5cb8cd29749e3021ef17eb4062 /ctdb/include/ctdb_protocol.h | |
| parent | c0798dfb6429ab8665db0ee69140ff881506384d (diff) | |
ctdbd: Remove incomplete ctdb_db_statistics_wire structure
Send the ctdb_db_statistics directly instead of first copying it to
duplicate ctdb_db_statistics_wire structure. This simplifies the
implementation of the control to get database statistics.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 26a4653df594d351ca0dc1bd5f5b2f5b0eb0a9a5)
Diffstat (limited to 'ctdb/include/ctdb_protocol.h')
| -rw-r--r-- | ctdb/include/ctdb_protocol.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ctdb/include/ctdb_protocol.h b/ctdb/include/ctdb_protocol.h index 10f643bb7f..9e95f4db6a 100644 --- a/ctdb/include/ctdb_protocol.h +++ b/ctdb/include/ctdb_protocol.h @@ -733,13 +733,6 @@ struct ctdb_db_statistics { uint32_t num_hot_keys; struct ctdb_db_hot_key hot_keys[MAX_HOT_KEYS]; }; -struct ctdb_db_statistics_wire { - uint32_t db_ro_delegations; - uint32_t db_ro_revokes; - uint32_t hop_count_bucket[MAX_COUNT_BUCKETS]; - uint32_t num_hot_keys; - char hot_keys[1]; -}; /* * wire format for interface list |
