apache / kvrocks

Apache Kvrocks is a distributed key value NoSQL database that uses RocksDB as storage engine and is compatible with Redis protocol.
https://kvrocks.apache.org/
Apache License 2.0
3.48k stars 456 forks source link

feat: Added key expiration support #2556

Open jonathanc-n opened 1 week ago

jonathanc-n commented 1 week ago

references: #2418

Added key expiration support tag, and numeric data for KQIR.

jonathanc-n commented 4 days ago

@PragmaTwice One thing noted for this pr, is that it is not fully removing the key from index from being searched. After deletion is called, the key and data is deleted however when calling the search function again, the key is still looked for and will call a notfound error

sonarcloud[bot] commented 3 days ago

Quality Gate Passed Quality Gate passed

Issues
15 New issues
0 Accepted issues

Measures
0 Security Hotspots
60.8% Coverage on New Code
2.1% Duplication on New Code

See analysis details on SonarCloud

jonathanc-n commented 1 day ago

@PragmaTwice Is there a particular way you would want key expiration to be handled?