mirror of https://github.com/apache/activemq.git
Apply patch for https://issues.apache.org/activemq/browse/AMQ-1727
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656582 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
15709c5673
commit
a4b7157513
|
@ -413,7 +413,7 @@ public class AMQPersistenceAdapter implements PersistenceAdapter, UsageListener,
|
|||
}
|
||||
Integer lastDataFile = asyncDataManager.getCurrentDataFileId();
|
||||
inProgress.add(lastDataFile);
|
||||
Set<Integer> inUse = referenceStoreAdapter.getReferenceFileIdsInUse();
|
||||
Set<Integer> inUse = new HashSet<Integer>(referenceStoreAdapter.getReferenceFileIdsInUse());
|
||||
asyncDataManager.consolidateDataFilesNotIn(inUse, inProgress);
|
||||
} catch (IOException e) {
|
||||
LOG.error("Could not cleanup data files: " + e, e);
|
||||
|
|
Loading…
Reference in New Issue