-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] OpenSearch-Benchmark silently falls back and uses default
for invalid index.codec values.
#268
Comments
Will take a look |
Made some changes and tested it locally. Made a PR
|
Resolved in #296 |
@IanHoang OpenSearch since version 2.7.0 supports ZSTD and ZSTDNODICT compression codecs using Lucene's NamedSPILoader and this fix doesn't seem to address that. Could you please add ZSTD and ZSTDNODICT as additional valid values for Also, can you make the comparison case-insensitive? (The upcoming OpenSearch release would use zstd and zstdnodict instead of ZSTD and ZSTDNODICT)? |
@mulugetam Thanks for bringing this to our attention. It'd be better to create a new issue though since this one was primarily for raising exceptions whenever an invalid codec was provided. Could you create a separate issue for OSB supporting ZSTD and ZSTDNODICT Compression Codecs ? Once that issue is created, we can add support for ZSTD and ZSTDNODICT compression codecs as well as make the comparison case-insensitive. |
Describe the bug
OpenSearch-Benchmark silently falls back and uses
default
(LZ4) for an invalidindex.codec
value.To Reproduce*
The below creates a geonames index and uses LZ4 instead of throwing an error.
Expected behavior
An error must be reported. E.g.
invalid index.codec value 'this_should_be_invalid'
.The text was updated successfully, but these errors were encountered: