Tracks and deletes features based on a time-to-live.
Tracks and deletes features based on a time-to-live.
TTLs are stored in a separate sorted set for each feature type, with the score of the set being the
system time in millis when the feature should be expired. We do a two-step process to expire features:
1. Scan and remove the TTL set by score range, which will return all the feature IDs for expired features
2. Remove the features from the index tables based on the feature ID
Tracks and deletes features based on a time-to-live.
TTLs are stored in a separate sorted set for each feature type, with the score of the set being the system time in millis when the feature should be expired. We do a two-step process to expire features:
1. Scan and remove the TTL set by score range, which will return all the feature IDs for expired features 2. Remove the features from the index tables based on the feature ID