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() {
|
||||
mergeScheduler.refreshConfig();
|
||||
updateIndexWriterSettings();
|
||||
// config().getVersionMapSize() may have changed:
|
||||
checkVersionMapRefresh();
|
||||
// config().isEnableGcDeletes() or config.getGcDeletesInMillis() may have changed:
|
||||
maybePruneDeletedTombstones();
|
||||
}
|
||||
|
||||
public MergeStats getMergeStats() {
|
||||
|
|
|
@ -1137,8 +1137,6 @@ public class IndexShard extends AbstractIndexShardComponent {
|
|||
indexingService.onRefreshSettings(settings);
|
||||
if (change) {
|
||||
engine().onSettingsChanged();
|
||||
// TODO: why force a refresh here...?
|
||||
refresh("apply settings");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue