Hash Set Key and fields expiration #2722
Unanswered
ltagliamonte-dd
asked this question in
Q&A
Replies: 1 comment 1 reply
-
The one impossible way is to use
I think we cannot know if any fields are leaked after the compaction, but we can add basic C++ unit test cases to promise this:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Folks,
I'm trying to understand better kvrocks internals.
In the specific I'm trying to understand what part of the codebase take care of the logic behind compaction the hash keys.
The number of keys in my cluster is steadily growing so I'm looking into 2 directions:
I want to make sure that when I have a TTL on an Hash Key, during compaction the TTL on the key is evaluated and all it sub fields are correctly removed.
Can someone please point me to the logic in the codebase?
Thank in advance for all the help!
Beta Was this translation helpful? Give feedback.
All reactions