Is TTL checked on a read?

FAQ Is TTL checked on a read?

Detail

When a data model including time to live (TTL) is being used, if a record is read and the TTL is expired, is this checked as part of the read?

Answer

Yes. The TTL is checked as part of the read process. If the TTL has expired but the read is done between NSUP runs then not found will be returned. Other reads as scans or batches follow the same behavior. An expired record will never be returned, whether it has been deleted by NSUP or not.

Keywords

NSUP EXPIRED READ RECORD CHECK

Timestamp

October 2020

© 2015 Copyright Aerospike, Inc. | All rights reserved. Creators of the Aerospike Database.