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

feature request: pause delta queue handling on read only indexes #46

Open
nvdk opened this issue Aug 11, 2022 · 0 comments
Open

feature request: pause delta queue handling on read only indexes #46

nvdk opened this issue Aug 11, 2022 · 0 comments
Labels
enhancement New feature or request needs discussion

Comments

@nvdk
Copy link
Member

nvdk commented Aug 11, 2022

Currently mu-search will log an error for failed updates, like so:

2022-08-11T05:24:53.096530944Z Response: 403 Forbidden
2022-08-11T05:24:53.096538700Z {"error":{"root_cause":[{"type":"cluster_block_exception","reason":"index [eada71e71bcfbab392833b72365714e3] blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"}],"type":"cluster_block_exception","reason":"index [eada71e71bcfbab392833b72365714e3] blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"},"status":403}

it will retry a few times (I think, but need to confirm) and after that drop the update and continue onto the next one. In this case it might be better to pause delta queue processing and only continue when the read only has been resolved.

@nvdk nvdk added enhancement New feature or request needs discussion labels Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs discussion
Projects
None yet
Development

No branches or pull requests

1 participant