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

Make 'compactMinRetain' and 'compactInterval' configurable #230

Open
sukumargaonkar opened this issue Oct 26, 2023 · 0 comments
Open

Make 'compactMinRetain' and 'compactInterval' configurable #230

sukumargaonkar opened this issue Oct 26, 2023 · 0 comments

Comments

@sukumargaonkar
Copy link

Usecase:
Planning to use kine+postgres to store mostly immutable data (very few updates though out its lifetime).

Current scenario:
To keep db size low, kine supports compaction and cleans up old revisions as per below conditions (as described here)

  • versions older than compactInterval (default compactInterval 5mins)
  • Always retain the last 1000 revisions (default compactMinRetain is 1000)

The 'compactInterval' and 'compactMinRetain' both are constants and thus cannot be configures

Feature Request:
Make 'compactMinRetain' configurable. When dealing with rarely updating data, setting the 'compactMinRetain' value low would help keep db size low

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

1 participant