I am using aerospike server version 5.5.0.7 and run it over k8s i an using java client version 4.1.2 I am trying to write to aerospike cache with ttl
- when I tried to write to aerospike server without configured ttl on the client-side it worked but when I added experiation to the write policy (120 seconds) and changed the namespace configuration on the server to be as follows:
namespace test {
replication-factor 2
memory-size 1G
nsup-period 600
default-ttl 120
..
}
I sometimes managed to write but most of the times failed with the 22 error
what am I doing wrong?