-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
[ML] Should we have an option for annotations to be retained after job deletion? #57977
Comments
Pinging @elastic/ml-core (:ml) |
Completely agree we should delete the system created annotations as these relate to the model. The model is being deleted, so we should delete its associated annotations. Wrt user-created annotations - this is more nuanced. It's valuable information in the case of deleting/recreating the same job. For example, if someone marked up 20 unusual events and then re-ran the job with an additional influencer, then it's useful to retain these annotations - it would be horrible to have to manually recreate these and we have no easy way for someone to save them. But this workflow is still not ideal (as the user has to know to use the same job name) and I suspect this only occurs for a small number of users and jobs. If we were to think about adding user controls for retaining annotations, then I think we have more to discuss.. there is more to the UX than simply tagging the annotation when it is created.
Retaining user-annotations upon job deletion has some value and changing this is a change to current functionality (albeit believed to be rarely used functionality). If we were to think about narrowest scope - then perhaps we should only delete system-annotations upon job deletion and retain user-annotations. This keeps existing functionality as is, whilst cleaning up the notifications. We can then consider a roadmap item to design a better experience for user-annotations. |
It's just you @sophiec20 🤣 |
That narrowest scope is what we did (in #58169 in 7.9). #74310 has been opened since then to add an option to delete user annotations. Adding that extra option would be a solution to this issue, so closing. |
#33376 (comment) says:
However, the
is_persistent
field was never implemented and in fact, up to 7.9, all annotations persist after job deletion.In 7.9 and above it will be completely unacceptable to retain all ML annotations forever: once model change annotations are added there could be thousands of them. Therefore #57976 will need to be addressed so that annotations get deleted alongside the jobs they relate to.
However, this reopens the question of whether it would be useful for a small handful of user-added annotations to persist past job deletion, for the use case where a user is iterating on job configuration repeatedly deleting and recreating a job and wants certain points on its timeline to remain annotated throughout this iteration.
As an aside, if we do introduce the idea of persistent annotations,
retain
would probably be a better field name thanis_persistent
as we have already used it for model snapshots.The text was updated successfully, but these errors were encountered: