Skip to content
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] QAT specific settings should only applicable for QAT codecs only. #170

Open
sarthakaggarwal97 opened this issue Jul 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@sarthakaggarwal97
Copy link
Collaborator

What is the bug?

In the current implementation, the index.codec.qatmode is introduced but it does not validate if the setting can be applied to all codecs or not. Ideally, this setting should be applied only for QAT codecs.

How can one reproduce the bug?

Request:

curl --location --request PUT 'http://localhost:9200/index-10045' \
--header 'Content-Type: application/json' \
--data-raw '{
  "settings": {
    "index": {
      "codec": "zstd",
      "codec.qatmode": "auto"
    }
  }
}'

Response:

{
    "acknowledged": true,
    "shards_acknowledged": true,
    "index": "index-10045"
}

What is the expected behavior?

QAT specific settings should only be applied for QAT codecs

@sarthakaggarwal97 sarthakaggarwal97 added bug Something isn't working untriaged labels Jul 26, 2024
@dblock dblock removed the untriaged label Aug 19, 2024
@dblock
Copy link
Member

dblock commented Aug 19, 2024

Catch All Triage - 1, 2, 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants