don't wait for merges on full flush

This commit is contained in:
Shay Banon 2011-08-09 18:10:57 +03:00
parent 83271d0806
commit 54880c576b
1 changed files with 1 additions and 1 deletions

View File

@ -803,7 +803,7 @@ public class RobinEngine extends AbstractIndexShardComponent implements Engine {
// that's ok if the index writer failed and is in inconsistent state
// we will get an exception on a dirty operation, and will cause the shard
// to be allocated to a different node
indexWriter.close();
indexWriter.close(false);
indexWriter = createWriter();
if (flushNeeded) {