xiaobiaozhao opened a new issue, #1291:
URL: https://github.com/apache/incubator-kvrocks/issues/1291

   ### Discussed in https://github.com/apache/incubator-kvrocks/discussions/1283
   
   <div type='discussions-op-text'>
   
   <sup>Originally posted by **xiaobiaozhao** February 27, 2023</sup>
   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
   </div>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to