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

Synchronous deletion of doc level queries during delete monitor operation #586

Closed
eirsep opened this issue Oct 4, 2022 · 0 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@eirsep
Copy link
Member

eirsep commented Oct 4, 2022

During delete monitor operation, after monitor is deleted, its doc level queries are deleted. But currently doc level queries are being deleted in async fashion.

This should be done in synchronous manner as custom query indices are allowed and alerting plugin stakeholders may want better manageability of the custom query index.

For ex. they might wanna delete the custom query index if it becomes empty as a result of monitor deletion. This can only be achieved if delete monitor operation waits for doc level queries deletion and then responds.

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

1 participant