/[Apache-SVN]
ViewVC logotype

Revision 748475


Jump to revision: Previous Next
Author: gtully
Date: Fri Feb 27 10:22:50 2009 UTC (15 years, 7 months ago)
Changed paths: 1
Log Message:
fix org.apache.kahadb.journal.JournalTest.testBatchWriteCompleteAfterClose() after changes for AMQ-2143, the file and offset in a location are set after an enqueue to a write batch, so doing the inflight add just overwrote the same entry, -1:-1. Which fixed the leak but broke inflights, proper fix is to do the inflight addition in enqueue, just after the location details are known and with a lock on appender enqueue

Changed paths

Path Details
Directoryactivemq/trunk/kahadb/src/main/java/org/apache/kahadb/journal/DataFileAppender.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26