d'oh, remove debug out
This commit is contained in:
parent
2fad1c4308
commit
e8ba7a7974
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue