TTL persistence when record write and llist write


#1

Hi,

I’ve been experimenting with Record’s TTL and I currently have some doubts regarding the best practices to adopt in some cases. Here is my use case: I want to keep a record for, say, an hour. However, during that hour, it is possible that I write to a Large List that belongs to that record.

According to my experimentations, the TTL of that record is then set to 2^32 - 1, which means that I’m losing the TTL that was remaining before writing in that Large List. Is this behaving as expected? If so, what is the best practice to:

  • Write in an Llist and keep the remaining time-to-live?
  • Update the record and keep the remaining time-to-live?