We are using Aerospike 3.16.0.6 version and we have set default ttl to 7 days and high-water-memory-pct as 65. Wanted to know that evictions would automatically be handled in this case ?
I was reading a documentation a topic for the same and found the below line:
if ( default-ttl
== 0) || ( eviction-period
== 0) do not run eviction; otherwise, execute one of the following steps depending of the type of namespace
doc link: Records TTL and Evictions - For Aerospike server version prior to 3.8
( The doc attached in above link for higher version does detail out the different mechanism used but does not talk about whether eviction-period is still used or not, also tried to check in the namespace retention doc where it says the nsup-period should be not zero and default-ttl should not be zero. Cannot find nsup period setting in configuration for 3.16 but verified in logs that it’s running every 2 minutes. As stated above the default-ttl is non-zero and set to 7 days.)
I cannot find eviction-period in configuration reference of Aerospike and neither running asinfo -v get config gives me any output. Therefore, please help us know if evictions would happen for us ?
Our configuration file is below:
service {
user root
group root
pidfile /var/run/aerospike/asd.pid
}
logging { file /var/log/aerospike/aerospike.log {
context any info
context migrate debug
}
}
network { service { address any port 3000 }
heartbeat {
mode mesh
port 3002
mesh-seed-address-port 10.34.205.123 3002
mesh-seed-address-port 10.33.29.183 3002
mesh-seed-address-port 10.34.233.205 3002
mesh-seed-address-port 10.32.101.198 3002
mesh-seed-address-port 10.32.201.45 3002
mesh-seed-address-port 10.34.65.162 3002
mesh-seed-address-port 10.32.245.223 3002
mesh-seed-address-port 10.33.73.243 3002
mesh-seed-address-port 10.32.17.240 3002
interval 150
timeout 10
}
fabric {
port 3001
}
info {
port 3003
}
}
namespace central-cache { replication-factor 2 memory-size 77G
default-ttl 7d
storage-engine memory
high-water-memory-pct 65
}