-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Describe the bug
When an index is created, the MetadataCreateIndexService
will aggregate all the settings from explicit request, index template and additional settings from plugin. As for INDEX_REPLICATION_TYPE_SETTING
setting, it will be finally verified and set by updateReplicationStrategy
from MetadataCreateIndexService
, however, this function doesn't respect the settings from Plugins, which is included in the parameter settingsBuilder
, if a plugin provides an explicit setting of replication type, it will eventually be override by this function, which I think is not the expected behavior?
Related component
Plugins
To Reproduce
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
When a plugin provide explicit Replication type setting, it should be respected
Additional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
- OS: [e.g. iOS]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.