You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/03/31 17:39:16 UTC

[jira] [Commented] (QPID-5653) [Java Broker] Make message and configuration store stateless

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

ASF subversion and git services commented on QPID-5653:
-------------------------------------------------------

Commit 1583351 from orudyy@apache.org in branch 'qpid/branches/java-broker-bdb-ha2'
[ https://svn.apache.org/r1583351 ]

QPID-5653: Open databases and upgrade on opening of configuration/message stores

> [Java Broker] Make message and configuration store stateless
> ------------------------------------------------------------
>
>                 Key: QPID-5653
>                 URL: https://issues.apache.org/jira/browse/QPID-5653
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Keith Wall
>            Assignee: Keith Wall
>
> The MessageStore (and DurableConfigurationStore) implementations are currently stateful. They own the recovery process and have special rules around some states (in some states updates are ignored).  This is overly complicated.  Currently all store implementations need to code these rules. This is poor division of responsibilities and this presents a barrier to users wishing to produce their own store implementations.
> This change will simplify the responsibilities of the store:
> * introduce simpler lifecycle methods i.e. open/close
> * simpler state concept, the store is either open or not
> * visit methods for retrieving data from the store.  



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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