TTLs on records created via MergeOperators

Hi,

Is there a way to assign a TTL to records created via MergeOperators? I was porting an application from aerospike where this is a bit more straightforward. In badger, it looks like the only way to set TTLs for simple counters is to get/increment/set (specify ttl on set). This is totally fine BTW - I was just wondering if there was another way that I missed since m.Add(uint64ToBytes(1)) is so much nicer/cleaner.

Thanks!
Michael

1 Like

looking for the same thing

also what is the behaviour of concurrent merges ?