qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sorin Suciu (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Resolved: (QPID-2455) Use msg.getSize() rather than getContentHeaderBody in NotificationCheck to avoid an access to persistence layer
Date Sat, 04 Sep 2010 00:22:32 GMT

     [ https://issues.apache.org/jira/browse/QPID-2455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sorin Suciu resolved QPID-2455.
-------------------------------

    Resolution: Fixed

> Use msg.getSize() rather than getContentHeaderBody in NotificationCheck to avoid an 
access to persistence layer
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-2455
>                 URL: https://issues.apache.org/jira/browse/QPID-2455
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: 0.5
>            Reporter: Sorin Suciu
>            Assignee: Robbie Gemmell
>         Attachments: qpid-2455.patch
>
>
> We have the following sequence in the broker (v.0.5): 
> | | | +--NotificationCheck:isMessageSpecific  (org.apache.qpid.server.queue)
> | | | +--NotificationCheck$2:notifyIfNecessary        (org.apache.qpid.server.queue)
> | | | | +--SimpleAMQQueue:getMaximumMessageSize       (org.apache.qpid.server.queue)
> | | | | +--AMQMessage:getContentHeaderBody    (org.apache.qpid.server.queue)
> | | | | | +--AMQMessage:getStoreContext       (org.apache.qpid.server.queue)
> | | | | | +--WeakReferenceMessageHandle:getContentHeaderBody  (org.apache.qpid.server.queue)
> | | | | | | +--WeakReferenceMessageHandle:loadMessageMetaData (org.apache.qpid.server.queue)
> | | | | | | | +--BDBMessageStore:getMessageMetaData   (org.apache.qpid.server.store.berkeleydb)
> getContentHeaderBody could be replaced with msg.getSize() which would save going to BDB.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message