Class ESIntegTestCase.RandomizeColumnarIdModePlugin

java.lang.Object
org.elasticsearch.plugins.Plugin
org.elasticsearch.test.ESIntegTestCase.RandomizeColumnarIdModePlugin
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
ESIntegTestCase

public static final class ESIntegTestCase.RandomizeColumnarIdModePlugin extends Plugin
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.