[
https://issues.apache.org/jira/browse/QPID-7576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15801108#comment-15801108
]
ASF subversion and git services commented on QPID-7576:
-------------------------------------------------------
Commit 1777449 from [~lorenz.quack] in branch 'java/trunk'
[ https://svn.apache.org/r1777449 ]
QPID-7576: [Java Broker] refactoring related to message metadata
This addresses review comments from alex:
* remove return value from ConsumerTarget#send
* call StoredMessage.getContentSize() instead of
StoredMessage.getMetaData().getContentSize()
* assume _handle in AbstractServerMessageImpl is not null
note that the last point differs from review suggestion in that _handle is not
explicitly guarded against null.
> Metadata loaded twice for recovered message
> -------------------------------------------
>
> Key: QPID-7576
> URL: https://issues.apache.org/jira/browse/QPID-7576
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: qpid-java-7.0
> Reporter: Keith Wall
> Fix For: qpid-java-7.0
>
> Attachments:
> 0001-QPID-7576-Call-StoredMessage-getContentSize-where-ap.patch,
> 0001-QPID-7576-Java-Broker-Avoid-double-loading-of-metada.patch
>
>
> For recovered messages (and possibly messages that have been flown to disk),
> the metadata is evacuated from memory unnecessarily and then immediately
> reloaded.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]