call shard refresh API and not directly the engine one
This commit is contained in:
parent
ff8dc2673f
commit
0e6bbf3f85
|
@ -622,7 +622,7 @@ public class InternalIndexShard extends AbstractIndexShardComponent implements I
|
|||
@Override public void run() {
|
||||
try {
|
||||
if (engine.refreshNeeded()) {
|
||||
engine.refresh(new Engine.Refresh(false));
|
||||
refresh(new Engine.Refresh(false));
|
||||
}
|
||||
} catch (EngineClosedException e) {
|
||||
// we are being closed, ignore
|
||||
|
|
Loading…
Reference in New Issue