You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Index Refresh Interval only impacts indexing performance at most. It doesn’t affect Durability or Availability of a cluster. All the flow below are designed taking this into consideration.
Available Controls
Index Level Settings
public static final Setting<TimeValue> INDEX_REFRESH_INTERVAL_SETTING = Setting.timeSetting(
"index.refresh_interval",
DEFAULT_REFRESH_INTERVAL,
MINIMUM_REFRESH_INTERVAL,
Property.Dynamic,
Property.IndexScope
);
Cluster Level Settings
public static final Setting<TimeValue> CLUSTER_MINIMUM_INDEX_REFRESH_INTERVAL_SETTING = Setting.timeSetting(
"cluster.minimum.index.refresh_interval",
IndexSettings.MINIMUM_REFRESH_INTERVAL,
IndexSettings.MINIMUM_REFRESH_INTERVAL,
new ClusterMinimumRefreshIntervalValidator(),
Property.NodeScope,
Property.Dynamic
);
public static final Setting<TimeValue> CLUSTER_DEFAULT_INDEX_REFRESH_INTERVAL_SETTING = Setting.timeSetting(
"cluster.default.index.refresh_interval",
IndexSettings.DEFAULT_REFRESH_INTERVAL,
IndexSettings.MINIMUM_REFRESH_INTERVAL,
new ClusterDefaultRefreshIntervalValidator(),
Property.NodeScope,
Property.Dynamic
);
Since index templates can be used to create indices as well, we need to make sure index templates also adheres to minimum refresh interval settings. Below is more detailed view of how different flows behave with cluster minimum refresh interval.
Index Creation With Explicit Refresh Interval
Refresh Interval should be not be less than cluster minimum.
Already Created Indices will not be updated if cluster minimum changes
Index Creation With Implicit Refresh Interval
Cluster Default Refresh Interval will be applicable.
Already created indices without explicit refresh interval, will start using the new cluster default refresh interval if cluster default is updated.
Index Template Creation
Index Template Creation will not be allowed with refresh interval less than cluster minimum
Already existing IndexTemplates wont be updated if cluster minimum is updated. They will continue to create indices with refresh interval specified in the IndexTemplate, even if its less than cluster minimum.
Index Creation via Index Template
No Validation will be imposed on an index being created via template. If a template exists with refresh interval less than cluster minimum, we will allow index creation via that template with refresh interval specified in the template.
Index Snapshot Restore
Indices being restored via Snapshot will have validation to check if refresh interval is below cluster minimum.
Index Template Snapshot Restore
IndexTemplates being restored via Snapshot will have validation to check if refresh interval is below cluster minimum.
The text was updated successfully, but these errors were encountered:
Index Refresh Interval User Experience
Index Refresh Interval only impacts indexing performance at most. It doesn’t affect Durability or Availability of a cluster. All the flow below are designed taking this into consideration.
Available Controls
Index Level Settings
Cluster Level Settings
Since index templates can be used to create indices as well, we need to make sure index templates also adheres to minimum refresh interval settings. Below is more detailed view of how different flows behave with cluster minimum refresh interval.
Index Creation With Explicit Refresh Interval
Index Creation With Implicit Refresh Interval
Index Template Creation
Index Creation via Index Template
Index Snapshot Restore
Index Template Snapshot Restore
The text was updated successfully, but these errors were encountered: