We use the aerospike java client. We create and update records using execute and a UDF.
public final Object execute(WritePolicy policy, Key key, String packageName, String functionName, Value… args)
with policy.expiration = 864000 /10 days/
On the server side ‘functionName’ creates the record if it does not exist or updates (merges) it if exists.
Does updating the record reset the TTL?
On other words, if one creates a record on May 01 with a TTL of 10 days and then modifies the record on May 05, is the record going to expire on May 15 as opposed to May 10?
Thank you for your help