summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Connection.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-02-02 15:46:46 +0000
committerAlan Conway <aconway@apache.org>2010-02-02 15:46:46 +0000
commit21e39f778986321e7477f26b24f949fb798b58b4 (patch)
tree3fd300494489e36754515a7e990463ecf544d103 /cpp/src/qpid/cluster/Connection.cpp
parent2574655d79a515c161ba09a3db725906572747fb (diff)
downloadqpid-python-21e39f778986321e7477f26b24f949fb798b58b4.tar.gz
Cluster: debug snapshots of queue depth at broker join, help find inconsistencies.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@905674 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Connection.cpp')
-rw-r--r--cpp/src/qpid/cluster/Connection.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/qpid/cluster/Connection.cpp b/cpp/src/qpid/cluster/Connection.cpp
index c1c9c02611..5faa184e30 100644
--- a/cpp/src/qpid/cluster/Connection.cpp
+++ b/cpp/src/qpid/cluster/Connection.cpp
@@ -195,6 +195,11 @@ struct GiveReadCreditOnExit {
~GiveReadCreditOnExit() { connection.giveReadCredit(credit); }
};
+void Connection::deliverDoOutput(uint32_t limit) {
+ output.deliverDoOutput(limit);
+ cluster.debugSnapshot("deliver-do-output", this);
+}
+
// Called in delivery thread, in cluster order.
void Connection::deliveredFrame(const EventFrame& f) {
GiveReadCreditOnExit gc(*this, f.readCredit);