summaryrefslogtreecommitdiffstats
path: root/ctdb/include/ctdb_protocol.h
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2013-07-15 14:52:07 +1000
committerAmitay Isaacs <amitay@gmail.com>2013-07-29 16:00:46 +1000
commit854216236b398ba85cdd7b555f5ecd1b9cfdf87f (patch)
tree34c00beaf49158d566e4b77a1bf4dbd8bf7007eb /ctdb/include/ctdb_protocol.h
parente14fa509416a5ea86d2309b1b64315c483ecf17a (diff)
downloadsamba-854216236b398ba85cdd7b555f5ecd1b9cfdf87f.tar.gz
samba-854216236b398ba85cdd7b555f5ecd1b9cfdf87f.tar.xz
samba-854216236b398ba85cdd7b555f5ecd1b9cfdf87f.zip
Revert "ctdbd: Remove incomplete ctdb_db_statistics_wire structure"
The structure cannot be removed without adding support for marshalling keys for hot records. This reverts commit 26a4653df594d351ca0dc1bd5f5b2f5b0eb0a9a5. Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit 023ca2e84f5ed064a288526b9c2bc7e06674dd81)
Diffstat (limited to 'ctdb/include/ctdb_protocol.h')
-rw-r--r--ctdb/include/ctdb_protocol.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_protocol.h b/ctdb/include/ctdb_protocol.h
index 9e95f4db6a..10f643bb7f 100644
--- a/ctdb/include/ctdb_protocol.h
+++ b/ctdb/include/ctdb_protocol.h
@@ -733,6 +733,13 @@ 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