You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "PragmaTwice (via GitHub)" <gi...@apache.org> on 2026/04/09 14:19:43 UTC

[I] Tracking: Hash Field Expiration (HFE) implementation [kvrocks]

PragmaTwice opened a new issue, #3436:
URL: https://github.com/apache/kvrocks/issues/3436

   ### Search before asking
   
   - [x] I had searched in the [issues](https://github.com/apache/kvrocks/issues) and found no similar issues.
   
   
   ### Motivation
   
   Proposal: #3432
   
   This issue is to track the implementation of HFE.
   
   - [ ] Implement metadata extensions, `mode=1` subkey encoding, and server configuration options.
   - [ ] Update existing hash read and write commands to correctly process and filter out expired fields.
   - [ ] Implement the `HLEN` fast-path algorithms and the `SCAN_AND_REPAIR` lazy deletion mechanism.
   - [ ] Modify the RocksDB compaction filter to safely drop expired subkeys without modifying metadata.
   - [ ] Introduce new field-level TTL commands including `HEXPIRE`, `HPERSIST`, `HPTTL`, and `HTTL`.
   - [ ] Implement a background thread and a dedicated index column family to actively clean up cold expired fields. (optional)
   
   ### Solution
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
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: issues-unsubscribe@kvrocks.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Tracking: Hash Field Expiration (HFE) implementation [kvrocks]

Posted by "nagisa-kunhah (via GitHub)" <gi...@apache.org>.
nagisa-kunhah commented on issue #3436:
URL: https://github.com/apache/kvrocks/issues/3436#issuecomment-4215763215

   Hi, I'd like to help with the HFE work. I'm interested in taking the HLEN fast-path and SCAN_AND_REPAIR part of this task. Could you assign it to me?


-- 
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: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org