Eviction of records with TTL greater than 0


#1

Hi, Wanted to understand to logic how Aerospike decides that records will be evicted.

I have below name space configuration:

    replication-factor 1
    memory-size 128M
    default-ttl  30D # 30 days, use 0 to never expire/evict.
    max-ttl      45D
    high-water-disk-pct   50
    high-water-memory-pct 50
    stop-writes-pct       90

    storage-engine device {
    file /opt/aerospike/data/test.dat
    filesize 256M
    write-block-size 128K
   }

What I am expecting is that when ever my records go beyond certain percentage of disk , records should be evicted.

I am getting below warning in log : Aug 07 2017 11:38:14 GMT: WARNING (nsup): (thr_nsup.c:1057) {test} no records below eviction void-time 242393574 - threshold bucket 9968, width 260 sec, count 1000000 > target 5000 (0.5 pct)

Aug 07 2017 11:38:15 GMT: WARNING (nsup): (thr_nsup.c:1057) {test} no records below eviction void-time 242393575 - threshold bucket 9968, width 260 sec, count 1000000 > target 5000 (0.5 pct)

Aug 07 2017 11:38:16 GMT: WARNING (nsup): (thr_nsup.c:1057) {test} no records below eviction void-time 242393576 - threshold bucket 9968, width 260 sec, count 1000000 > target 5000 (0.5 pct)

Aug 07 2017 11:38:17 GMT: WARNING (nsup): (thr_nsup.c:1057) {test} no records below eviction void-time 242393577 - threshold bucket 9968, width 260 sec, count 1000000 > target 5000 (0.5 pct)

Aug 07 2017 11:38:19 GMT: WARNING (nsup): (thr_nsup.c:1057) {test} no records below eviction void-time 242393578 - threshold bucket 9968, width 260 sec, count 1000000 > target 5000 (0.5 pct)

Aug 07 2017 11:38:20 GMT: WARNING (nsup): (thr_nsup.c:1057) {test} no records below eviction void-time 242393580 - threshold bucket 9968, width 260 sec, count 1000000 > target 5000 (0.5 pct)

Please help me in understanding the details of eviction


#2

The following two knowledge base articles are helpful for understanding the topic