Detail
Before you coldstarted Aerospike, you checked inAQL under show sets to look at your total number of records. After coldstarting Aerospike, you looked up the records again, and it’s now reflecting a different total. You’re now wondering why your total number of records changed.Answer
The reason is during the time you shutdown, eviction did not catch up. During a coldstart, eviction is forced to catch up. What you end up seeing is the additional records evicted and that's the difference you’re seeing.
Note that, 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 not below the eviction depth, which are not automatically skipped.