git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1043912 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2010-12-09 11:58:17 +00:00
parent f51c4cc63f
commit 426a3a17fe
1 changed files with 1 additions and 7 deletions

View File

@ -443,13 +443,7 @@ public class PageFile {
}
}
try {
int size = writes.size();
long start = System.currentTimeMillis();
checkpointLatch.await();
long end = System.currentTimeMillis();
if( end-start > 100 ) {
LOG.warn("KahaDB PageFile flush: " + size + " queued writes, latch wait took "+(end-start));
}
checkpointLatch.await();
} catch (InterruptedException e) {
throw new InterruptedIOException();
}