Open Lssikkes opened 6 years ago
hset/hdel
, u need to change redis-compatible-mode
to yes
in ardb.confexists
after expire
, currently exists/keys/ttl
does not check the key expire or not, there is a background task to do the expire work. this can be improved later.
I'm building unit tests for the database to gauge how well Ardb matches Redis semantics, but it seems like I'm hitting an issue where a hash container is not cleared automatically when the amount of elements hit 0, or the timeout is hit (which is default redis behavior for every container, except redis 5.0 streams).
To reproduce
same situation with expire:
I hope I can work around these inconsistencies for the time being, but I would greatly appreciate a proper fix for this problem.. Willing to buy some ko-fi for you for the work ;)