Evicting older records from storage should be based on the time the records are inserted in the DB rather the the timestamp included in the data.
The current behavior can cause the entire storage to be wiped out if the data is tagged with an invalid timestamp (e.g. a timestamp far in the future for data that is supposed to be dated to current time).
The bad news is that it complicates things a lot since we don't record the insertion time at present.
Evicting older records from storage should be based on the time the records are inserted in the DB rather the the timestamp included in the data.
The current behavior can cause the entire storage to be wiped out if the data is tagged with an invalid timestamp (e.g. a timestamp far in the future for data that is supposed to be dated to current time).
The bad news is that it complicates things a lot since we don't record the insertion time at present.