Tests: increase logging for lucene commit during flush in InternalEngine
This commit is contained in:
parent
c821b8d3b4
commit
a5bfe332e5
|
@ -621,7 +621,9 @@ public class InternalEngine extends Engine {
|
||||||
long translogId = translogIdGenerator.incrementAndGet();
|
long translogId = translogIdGenerator.incrementAndGet();
|
||||||
translog.newTransientTranslog(translogId);
|
translog.newTransientTranslog(translogId);
|
||||||
indexWriter.setCommitData(Collections.singletonMap(Translog.TRANSLOG_ID_KEY, Long.toString(translogId)));
|
indexWriter.setCommitData(Collections.singletonMap(Translog.TRANSLOG_ID_KEY, Long.toString(translogId)));
|
||||||
|
logger.trace("starting commit for flush");
|
||||||
commitIndexWriter(indexWriter);
|
commitIndexWriter(indexWriter);
|
||||||
|
logger.trace("finished commit for flush");
|
||||||
// we need to refresh in order to clear older version values
|
// we need to refresh in order to clear older version values
|
||||||
refresh("version_table_flush");
|
refresh("version_table_flush");
|
||||||
// we need to move transient to current only after we refresh
|
// we need to move transient to current only after we refresh
|
||||||
|
|
Loading…
Reference in New Issue