[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-dev
Subject:    [jira] Created: (AMQ-1479) AMQ Store deletes data files which are
From:       "Rob Davies (JIRA)" <jira () apache ! org>
Date:       2007-10-27 4:12:24
Message-ID: 11443560.1193458344370.JavaMail.jira () brutus
[Download RAW message or body]

AMQ Store deletes data files which are in use
---------------------------------------------

                 Key: AMQ-1479
                 URL: https://issues.apache.org/activemq/browse/AMQ-1479
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.0.0
            Reporter: Rob Davies
            Assignee: Hiram Chirino
            Priority: Blocker
             Fix For: 5.0.0


The AMQ Store allocates entries in the data logs for commands (including \
messages/acknowledgements/transaction boundaries etc) - but relies on the reference \
store for keeping track of data files that are being used. Updates to the reference \
store happen at a checkpoint() - asynchronously. The problem is that for a fast \
producer, the current data file (one being written to) can move on past the last \
known data file to the reference store. As the cleanup() task is a scheduled task - \
and not coupled to check points - the cleanup task can remove data files that the \
reference store is not yet aware of AND have are previous to the current data file \
being written too. 

Test case: org.apache.activemq.bugs.DurableConsumerTest

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic