• TTL is accepted in seconds
    • (int32_t)Timestamp(creation) is suffixed to values in Put internally
    • read_only=true opens in the usual read-only mode. Compactions will not be triggered(neither manual nor automatic), so no expired entries removed
    • Calling DB::Open directly to re-open a db created by this API will get corrupt values(timestamp suffixed) and no ttl effect will be there during the second Open, so use this API consistently to open the db
    • Be careful when passing ttl with a small positive value because the whole database may be deleted in a small amount of time