Hello,
I'm wondering if there is key or data expiration semantic in scalaris.
In some dbms one can do :
ok = hanoidb:put(Tree, <<"foo">>, <<"bar">>, 2), % 2 sec
{ok, <<"bar">>} = hanoidb:get(Tree, <<"foo">>),
ok = timer:sleep(3000), % 3000 ms
not_found = hanoidb:get(Tree, <<"foo">>)
grep'ing for "expire" in scalaris' source I have only found dht_node_db_cache.erl
Is it an expiration thing like above ? (I don't think so) If yes I think the db_backend API needs some more function specs.
What do you think about such an expiration feature ?
Have fun
Pierre M.