Please answer these questions before submitting your issue.
Question
Why the config 'flushInterval' in ’application.yml‘ is bound to "index.refresh_interval"?
org.apache.skywalking.oap.server.storage.plugin.elasticsearch.base.StorageEsInstaller#createSetting
setting.put("index.refresh_interval", record ? TimeValue.timeValueSeconds(10).toString() : TimeValue.timeValueSeconds(config.getFlushInterval()).toString());
The config also is bound to bulk flush interval in 'org.apache.skywalking.oap.server.library.module.ServiceNotProvidedException' ?
this.registerServiceImplementation(IBatchDAO.class, new BatchProcessEsDAO(elasticSearch7Client, config.getBulkActions(), config.getFlushInterval(), config.getConcurrentRequests()));
These are two different configuration items.
What does this config mean?
Requirement or improvement
Adding more config about elasticsearch such as 'index.merge.scheduler.max_thread_count' which is important and necessary.
Please answer these questions before submitting your issue.
Question
Why the config 'flushInterval' in ’application.yml‘ is bound to "index.refresh_interval"?
The config also is bound to bulk flush interval in 'org.apache.skywalking.oap.server.library.module.ServiceNotProvidedException' ?
These are two different configuration items.
What does this config mean?
Requirement or improvement
Adding more config about elasticsearch such as 'index.merge.scheduler.max_thread_count' which is important and necessary.