remove forced refresh on settings update
This commit is contained in:
parent
274044e7dd
commit
8dc08f70b4
|
@ -1241,6 +1241,10 @@ public class InternalEngine extends Engine {
|
||||||
public void onSettingsChanged() {
|
public void onSettingsChanged() {
|
||||||
mergeScheduler.refreshConfig();
|
mergeScheduler.refreshConfig();
|
||||||
updateIndexWriterSettings();
|
updateIndexWriterSettings();
|
||||||
|
// config().getVersionMapSize() may have changed:
|
||||||
|
checkVersionMapRefresh();
|
||||||
|
// config().isEnableGcDeletes() or config.getGcDeletesInMillis() may have changed:
|
||||||
|
maybePruneDeletedTombstones();
|
||||||
}
|
}
|
||||||
|
|
||||||
public MergeStats getMergeStats() {
|
public MergeStats getMergeStats() {
|
||||||
|
|
|
@ -1137,8 +1137,6 @@ public class IndexShard extends AbstractIndexShardComponent {
|
||||||
indexingService.onRefreshSettings(settings);
|
indexingService.onRefreshSettings(settings);
|
||||||
if (change) {
|
if (change) {
|
||||||
engine().onSettingsChanged();
|
engine().onSettingsChanged();
|
||||||
// TODO: why force a refresh here...?
|
|
||||||
refresh("apply settings");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue