diff --git a/kahadb/src/main/java/org/apache/kahadb/page/PageFile.java b/kahadb/src/main/java/org/apache/kahadb/page/PageFile.java index e13d9336cf..eca5979cc8 100644 --- a/kahadb/src/main/java/org/apache/kahadb/page/PageFile.java +++ b/kahadb/src/main/java/org/apache/kahadb/page/PageFile.java @@ -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(); }