You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by GitBox <gi...@apache.org> on 2023/03/01 01:01:15 UTC
[GitHub] [incubator-kvrocks] xiaobiaozhao edited a discussion: New compaction-checker-force-compact-seconds conf
GitHub user xiaobiaozhao edited a discussion: New compaction-checker-force-compact-seconds conf
In some case,we need save a lot of data with short ttl, eg ttl = 3600s.
In current kvrocks, it takes at least two days for compation to take place, which can cause disk space not to be released quickly. I think kvrocks needs to come up with a configuration to figure out how long compation will take.
New a conf item `compaction-checker-force-compact-seconds` https://github.com/apache/incubator-kvrocks/blob/c439f3af9d5c7ccb97ff4c7bdab088287acd73cc/src/storage/compaction_checker.cc#L58
And new a conf item `compaction-checker-interval-seconds`
https://github.com/apache/incubator-kvrocks/blob/c439f3af9d5c7ccb97ff4c7bdab088287acd73cc/src/server/server.cc#L184
GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1283
----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org