[BUG] OpenSearch-Benchmark silently falls back and uses default
for invalid index.codec values. #268
Closed
Description
Describe the bug
OpenSearch-Benchmark silently falls back and uses default
(LZ4) for an invalid index.codec
value.
To Reproduce*
The below creates a geonames index and uses LZ4 instead of throwing an error.
opensearch-benchmark execute_test \
--workload=geonames \
--workload-params='{"index_settings":{"index.codec": "this_should_be_invalid"}}' \
--target-hosts=127.0.0.1:9200 \
--kill-running-processes \
--pipeline=benchmark-only \
--include-tasks=delete-index,create-index,index-append \
--kill-running-processes
Expected behavior
An error must be reported. E.g. invalid index.codec value 'this_should_be_invalid'
.
Metadata
Assignees
Labels
Type
Projects
Status
Done