You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Hiram Chirino (JIRA)" <ji...@apache.org> on 2013/02/13 16:42:13 UTC

[jira] [Created] (AMQ-4313) Queue.isOptimizeStorage() returns true when it should be returning false.

Hiram Chirino created AMQ-4313:
----------------------------------

             Summary: Queue.isOptimizeStorage() returns true when it should be returning false.
                 Key: AMQ-4313
                 URL: https://issues.apache.org/jira/browse/AMQ-4313
             Project: ActiveMQ
          Issue Type: Bug
          Components: activemq-leveldb-store, Broker
    Affects Versions: 5.8.0
            Reporter: Hiram Chirino


Queue.isOptimizeStorage() is returning true even when you attach a consumer that does not ack.

This causes the leveldb store will delay storing messages which in turn make producers wait longer for the sync send receipt .

for an example of that see the SparseAckReplayAfterStoreCleanupLevelDBStoreTest
if you comment out 'store.setFlushDelay(0);' the test will take a long time due to Queue.isOptimizeStorage() reporting true.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira