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]Can't initialize detector after disable/re-enable AD plugin #794

Open
kaituo opened this issue Jan 30, 2023 · 2 comments
Open

[BUG]Can't initialize detector after disable/re-enable AD plugin #794

kaituo opened this issue Jan 30, 2023 · 2 comments
Assignees
Labels
bug Something isn't working v2.8.0

Comments

@kaituo
Copy link
Collaborator

kaituo commented Jan 30, 2023

What is the bug?
opendistro-for-elasticsearch/anomaly-detection#132

@kaituo kaituo added bug Something isn't working untriaged labels Jan 30, 2023
@kaituo
Copy link
Collaborator Author

kaituo commented Jan 30, 2023

Proposal: delete checkpoints when stopping detector in terms of EndRunException (same as what we do when stopping a detector using RestFul API). When failing to delete a checkpoint, we should retry using exponential backoff.

StopDetectorTransportAction has logic on how to delete models.

private void stopAdJob(String detectorId, AnomalyDetectorFunction function) {
is the place you might want to add the delete model logic.

@minalsha
Copy link

minalsha commented Aug 9, 2023

@jackiehanyang what is the updated status of this issue? Is the fix in 2.8.0 ?

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

No branches or pull requests

3 participants