qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject qpid-cpp git commit: QPID-8226: mark delivery record as 'ended' if acquire mode is not-acquired and accept mode is none
Date Tue, 07 Aug 2018 21:26:48 GMT
Repository: qpid-cpp
Updated Branches:
  refs/heads/master 428eafa1f -> 5d0565ab6


QPID-8226: mark delivery record as 'ended' if acquire mode is not-acquired and accept mode
is none

In this case the message cannot be acquired. As soon as the delivery is completed at the session,
the record can be considered redundant and removed.


Project: http://git-wip-us.apache.org/repos/asf/qpid-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-cpp/commit/5d0565ab
Tree: http://git-wip-us.apache.org/repos/asf/qpid-cpp/tree/5d0565ab
Diff: http://git-wip-us.apache.org/repos/asf/qpid-cpp/diff/5d0565ab

Branch: refs/heads/master
Commit: 5d0565ab605d2508d72fe46371a9c2401d514d22
Parents: 428eafa
Author: Gordon Sim <gsim@redhat.com>
Authored: Tue Aug 7 22:23:00 2018 +0100
Committer: Gordon Sim <gsim@redhat.com>
Committed: Tue Aug 7 22:26:06 2018 +0100

----------------------------------------------------------------------
 src/qpid/broker/DeliveryRecord.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-cpp/blob/5d0565ab/src/qpid/broker/DeliveryRecord.cpp
----------------------------------------------------------------------
diff --git a/src/qpid/broker/DeliveryRecord.cpp b/src/qpid/broker/DeliveryRecord.cpp
index 06ecf62..da95c84 100644
--- a/src/qpid/broker/DeliveryRecord.cpp
+++ b/src/qpid/broker/DeliveryRecord.cpp
@@ -50,7 +50,7 @@ DeliveryRecord::DeliveryRecord(const QueueCursor& _msg,
                                                    acceptExpected(!accepted),
                                                    cancelled(false),
                                                    completed(false),
-                                                   ended(accepted && acquired),
+                                                   ended(accepted),
                                                    windowing(_windowing),
                                                    credit(_credit),
                                                    msgId(_msgId),


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message