[ https://issues.apache.org/jira/browse/PROTON-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13627700#comment-13627700 ]
Rafael H. Schloming commented on PROTON-289: -------------------------------------------- The reason this is happening is because pn_messenger_outgoing reports how many deliveries have yet to be written to the wire, i.e. how many deliveries are unsent, whereas the tracker queue is actually tracking unacknowledged deliveries, so entries in the tracker queue will still be pending after they have been written to the wire, but before the server has acknowledged the deliveries. I'm not sure this is a bug per/se, but more of an API/design question as it would seem to be useful to be able to query both unsent and/or pending deliveries depending on what your use case is. > outgoing tracker and outgoing queue disagree in case the server is not around > ----------------------------------------------------------------------------- > > Key: PROTON-289 > URL: https://issues.apache.org/jira/browse/PROTON-289 > Project: Qpid Proton > Issue Type: Bug > Reporter: Bozo Dragojevic > Attachments: > 0002-Add-test-for-sending-to-a-server-that-is-not-started.patch > > > send a message to localhost:12345 when there is no server > tracker will say it's PENDING > outgoing count will be 0 > Which of them is wrong? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira