torwig commented on PR #2717: URL: https://github.com/apache/kvrocks/pull/2717#issuecomment-2743469714
I'm not sure, but maybe Redis (according to this [PR](https://github.com/redis/redis/pull/13798/files), I'll try to double check) tracks the latest expiration time of the element in the hash so we can save it to Metadata and take it into consideration without checking all valid elements in the hash. So this solution will bring the same performance to both "normal hash" and the "hash with elements that have TTL". @git-hulk @PragmaTwice @mapleFU WDYT? -- 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]
