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

[scd] Automate expired subscription eviction #1135

Open
barroco opened this issue Nov 27, 2024 · 0 comments
Open

[scd] Automate expired subscription eviction #1135

barroco opened this issue Nov 27, 2024 · 0 comments
Assignees

Comments

@barroco
Copy link
Contributor

barroco commented Nov 27, 2024

#1116 introduced a CLI command to evict expired subscriptions following the discussions in #1074.
Multiple options have been mentioned during scoping of the feature in order to periodically delete expired subscriptions:

Approach Execution notes Pros Cons
1. Recommend users to use a cron job running the eviction job Update deployment code to support it with configuration flags Datastore independent
2. Set TTL in migration scripts Implementation: #1134 Garbage collection managed by CRDB No TTL feature in Yugabyte (YSQL)
3. Recommend users to set the TTL Add instructions in the README with an example on how to proceed We want to encourage standardized deployment and limit customisations
4. Add a cron job inside core-service like rid Implement inside core-service the new cron job

This issue should be used to decide on the preferred approach(es).
Please comment this issue and I will update the description to reflect the progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants