Aerospike Records Automatically Deleting from Sets

Aerospike Records Getting Deleted Automatically – Need Help Diagnosing the Issue

We are experiencing an issue where Aerospike records are being deleted automatically after a few days.

  • Previously, we were using the Enterprise version of Aerospike, but we have now switched to the Community version (4.x).
  • We have checked the watermark settings for both memory and disk, and they are set to 90%.
  • We ran the following command to check eviction details:
asadm -e "show statistics namespace/<namespace>" | grep evict  

The output is as follows:

 disable-eviction :   false                                              false
disable-eviction :   false                                              false
disable-cold-start-eviction             :   false                                              false
evict-hist-buckets                      :   10000                                              10000
evict-tenths-pct                        :   5                                                  5
evict_ttl                               :   0                                                  0
evict_void_time                         :   0                                                  0
evicted_objects                         :   0                                                  0
smd_evict_void_time                     :   0                                                  0
disable-cold-start-eviction               :   false                                              false
evict-hist-buckets                        :   10000                                              10000
evict-tenths-pct                          :   5                                                  5
evict_ttl                                 :   0                                                  0
evict_void_time                           :   0                                                  0
evicted_objects                           :   0                                                  0
smd_evict_void_time                       :   0                                                  0

Since evicted_objects is 0, it appears that records are not being evicted, yet we have verified that records are getting deleted.

Are there any other configuration settings or logs we should check to determine why records are being deleted? Any guidance would be greatly appreciated!

Thanks in advance!

Do you have a default TTL set? It could be that the records are expired rather than evicted.

Hey @Ben_Bates , Thanks for the prompt revert, We dont have any TTL on the records.

Cross posted to SO: caching - Aerospike Records Automatically Deleting from Sets - Stack Overflow