d'oh, remove debug out

This commit is contained in:
kimchy 2011-06-02 12:14:14 +03:00
parent 2fad1c4308
commit e8ba7a7974
1 changed files with 0 additions and 2 deletions

View File

@ -749,7 +749,6 @@ public class RobinEngine extends AbstractIndexShardComponent implements Engine {
if (flushNeeded) { if (flushNeeded) {
flushNeeded = false; flushNeeded = false;
long time = System.currentTimeMillis();
try { try {
long translogId = translogIdGenerator.incrementAndGet(); long translogId = translogIdGenerator.incrementAndGet();
translog.newTransientTranslog(translogId); translog.newTransientTranslog(translogId);
@ -761,7 +760,6 @@ public class RobinEngine extends AbstractIndexShardComponent implements Engine {
failEngine(e); failEngine(e);
throw new FlushFailedEngineException(shardId, e); throw new FlushFailedEngineException(shardId, e);
} }
System.err.println("Commit took " + new TimeValue(System.currentTimeMillis() - time));
} }
} finally { } finally {
rwl.readLock().unlock(); rwl.readLock().unlock();