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

Reply via email to