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

[Housekeeping] Provide realm auto deletion functionality #945

Open
nanjarapalli opened this issue May 17, 2024 · 1 comment
Open

[Housekeeping] Provide realm auto deletion functionality #945

nanjarapalli opened this issue May 17, 2024 · 1 comment
Labels
discussion This issue needs to be investigated/discussed (it might be already fixed, invalid or duplicated)

Comments

@nanjarapalli
Copy link
Contributor

Problem

  • realm can be deleted either from housekeeping restapi (only when no devices are connected)
  • using astartectl

When evaluating the astarte with different realms it becomes difficult to maintain all the realms and cleaning the unused realms. Hence requesting to extend housekeeping ream creation api to include TTL flag/paramter to auto delete the realm when set during realm creation

@Annopaolo
Copy link
Collaborator

Realm deletion implies data loss, so an automatic deletion based on TTL could open a number of problems (e.g. what about online devices whose realm has been auto-deleted?). We should carefully consider if we want to provide such a feature.

@Annopaolo Annopaolo added the discussion This issue needs to be investigated/discussed (it might be already fixed, invalid or duplicated) label May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion This issue needs to be investigated/discussed (it might be already fixed, invalid or duplicated)
Projects
Status: No status
Development

No branches or pull requests

2 participants