Package org.elasticsearch.test
Class ESIntegTestCase.RandomizeColumnarIdModePlugin
java.lang.Object
org.elasticsearch.plugins.Plugin
org.elasticsearch.test.ESIntegTestCase.RandomizeColumnarIdModePlugin
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
ESIntegTestCase
Randomly enables columanr id mode at index creation time.
Typically this type of randomization happens via random legacy index templates with internal integration tests. However for columnar id mode test coverage this doesn't work well:
- If composable index templates or data streams are used we would never test with randomized columanr id
- Columnar id mode can't be enabled for tsdb tests, but when the randomized legacy template is created we don't know whether it matches with tsdb indices. An index settings provider is the only place where we see all settings (from create index request or template) prior to index creation.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.plugins.Plugin
Plugin.PluginServices -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.elasticsearch.plugins.Plugin
additionalSettings, close, createComponents, getBootstrapChecks, getExecutorBuilders, getIndexTemplateMetadataUpgrader, getNamedWriteables, getNamedXContent, getProjectCustomMetadataUpgraders, getSettings, getSettingsFilter, onIndexModule
-
Constructor Details
-
RandomizeColumnarIdModePlugin
public RandomizeColumnarIdModePlugin()
-
-
Method Details
-
getAdditionalIndexSettingProviders
public Collection<IndexSettingProvider> getAdditionalIndexSettingProviders(IndexSettingProvider.Parameters parameters) - Overrides:
getAdditionalIndexSettingProvidersin classPlugin
-