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] default behavior is to refresh after batches. This should be removed #324

Open
wbeckler opened this issue Aug 22, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@wbeckler
Copy link

What is the bug?

When OPENSEARCH_BATCH_WRITE_REFRESH_DEFAULT = "true", the client will trigger a global refresh command. this forces a refresh of all indexes, even read-only ones, which results in an error. A refresh should be per index. This default setting is dangerous and was initially added to make the client more debuggable. It would be a better experience if the default were set to false, so as to remove this latent bug that eventually causes issues.

String OPENSEARCH_BATCH_WRITE_REFRESH_DEFAULT = "true";

@wbeckler wbeckler added bug Something isn't working untriaged labels Aug 22, 2023
@mukhtarGeo
Copy link

Hi, This issue happened to us when using default settings of hadoop-client which sets the refresh as "true". Pls set the default to false so write operations into index do not fail.

@Xtansia Xtansia removed the untriaged label Nov 7, 2023
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

3 participants