xmidt-org / argus

simple json database abstraction layer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TTL for stored item not decreasing

ilawjr opened this issue · comments

The record ttl does not decrease.

  1. PUT an item to argus with a TTL of 300.
  2. GET the item, the TTL will be 300
  3. wait 30 seconds, and GET the item. The TTL will still be 300.
    expected: it would decrease.

After digging a bit into this, I found that the issue is isolated to the in-memory store implementation. The yugabyte and the dynamodb implementations seem to be working fine.