Closed Menziess closed 1 year ago
Hi, surprise to me as well. See this link: https://github.com/facebook/rocksdb/wiki/Time-to-Live
It appears that ttl in rocksdb means it will at least live that long. and the value is deleted only during compaction. So expired value may get deleted in the process when more values inserted during compaction.
From RocksDB
Some warnings:
After inserting a record, waiting for the desired ttl seconds, the record still exists. Are there other ways to handle automatic deletion of older records other than manually finding and deleting them?