From 21e39f778986321e7477f26b24f949fb798b58b4 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 2 Feb 2010 15:46:46 +0000 Subject: 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 --- cpp/src/qpid/cluster/Connection.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cpp/src/qpid/cluster/Connection.cpp') 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); -- cgit v1.2.1