Before you coldstart Aerospike, you checked in
show sets to look at your records. After coldstart Aerospike, you look up the records again and it’s now reflecting a different total. You’re now wondering why your total number of records changed.
The reason why is during the time you shutdown,
eviction was not caught up. During
coldstart, eviction is forced to catch up. What you end up seeing is the additional records evicted is the difference you’re seeing.
Do note, when Aerospike is rebuilding the index, in addition to the way defrag works. You will encounter some of the records multiple times, which may lead to multiple evictions. You will also encounter some records that were previously evicted but were not below the eviction depth, which are not automatically skipped.