qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-7451) [Java Broker] MessageTransferMessage should cache message size
Date Tue, 11 Oct 2016 09:15:21 GMT

    [ https://issues.apache.org/jira/browse/QPID-7451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15564977#comment-15564977

ASF subversion and git services commented on QPID-7451:

Commit 1764215 from [~k-wall] in branch 'java/branches/6.0.x'
[ https://svn.apache.org/r1764215 ]

QPID-7451 : Cache message size in MessageTransferMessage

Merged from trunk with command:
svn merge -c 1763653  ^/qpid/java/trunk

> [Java Broker] MessageTransferMessage should cache message size
> --------------------------------------------------------------
>                 Key: QPID-7451
>                 URL: https://issues.apache.org/jira/browse/QPID-7451
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.32, qpid-java-6.0, qpid-java-6.0.1, qpid-java-6.0.2, qpid-java-6.0.3,
>            Reporter: Rob Godfrey
>            Assignee: Rob Godfrey
>             Fix For: qpid-java-6.0.5, qpid-java-6.1
>         Attachments: QPID-7451_for_0_32.patch
> AMQMessage (the 0-9-1 path) caches message size, however MessageTransferMessage (the
0-10 path) does not.  This means that the delivery path from AbstractQueue may require retrieval
of the message meta data from the store to get the message size.  Since not all requests to
get the message size are protected by first getting a message reference, there is a chance
of a race whereby the message is removed from the store between checking whether it is available
and obtaining the message size.

This message was sent by Atlassian JIRA

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

View raw message