git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1021747 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2010-10-12 11:32:53 +00:00
parent 7e8d90eb5d
commit 1e900b300a
1 changed files with 1 additions and 0 deletions

View File

@ -1202,6 +1202,7 @@ public class MessageDatabase extends ServiceSupport implements BrokerServiceAwar
} }
// check we are not deleting file with ack for in-use journal files // check we are not deleting file with ack for in-use journal files
LOG.debug("gc candidates: " + gcCandidateSet);
final TreeSet<Integer> gcCandidates = new TreeSet<Integer>(gcCandidateSet); final TreeSet<Integer> gcCandidates = new TreeSet<Integer>(gcCandidateSet);
Iterator<Integer> candidates = gcCandidateSet.iterator(); Iterator<Integer> candidates = gcCandidateSet.iterator();
while (candidates.hasNext()) { while (candidates.hasNext()) {