You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by GitBox <gi...@apache.org> on 2021/06/21 08:53:43 UTC
[GitHub] [qpid-cpp] morapet opened a new pull request #27: replenish the credit after drain by the drained amount of messages
morapet opened a new pull request #27:
URL: https://github.com/apache/qpid-cpp/pull/27
There is a bug in the fetch code, which causes the drain to end by the call of the GET which top-up credit only by 1. If there is queued e.g 1-2 messages queued from broker and local client gave up whole credit by the drain cycle, it must be always replenished by the real amount of messages drained from broker, otherwise the fetch method is ended with credit 1 or 0. Then the performance is degraded to very small.
You can do whatever with this PR, consider this as free of charge contribution for open source community.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
[GitHub] [qpid-cpp] gemmellr commented on pull request #27: replenish the credit after drain by the drained amount of messages
Posted by GitBox <gi...@apache.org>.
gemmellr commented on pull request #27:
URL: https://github.com/apache/qpid-cpp/pull/27#issuecomment-864876787
Related JIRA https://issues.apache.org/jira/browse/QPID-8538.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
[GitHub] [qpid-cpp] gemmellr commented on pull request #27: replenish the credit after drain by the drained amount of messages
Posted by GitBox <gi...@apache.org>.
gemmellr commented on pull request #27:
URL: https://github.com/apache/qpid-cpp/pull/27#issuecomment-864876787
Related JIRA https://issues.apache.org/jira/browse/QPID-8538.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org