Hi,
I changed the default ttl on a 5-node cluster from 1095D to 15D. When I look at the ttl histogram though it looks like the bucket width is still set to 1095 days, meaning I have data that is still not set to expire for a very long time. I expected that changing the ttl would mean all data that was older than 15 days (and had not been touched, i.e. the generation had not been updated) would expire and I could reclaim a bunch of disk space. That has not happened.
My configs have this entry:
namespace prod { replication-factor 1 memory-size 30G default-ttl 15d # 30 days, use 0 to never expire/evict.
But the histogram shows this:
ip-[redacted] returned: prod:ttl=100,945327,34,232,50805372,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4826,0,0,1105,83,681,1323,1614,2464,1983,1017,2648,1541,2932,2213,2770,2073,2303,2258,2205,2269,2993,148475;
ip-[redacted] returned: prod:ttl=100,945327,43,238,50299963,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4785,0,0,1127,86,681,1305,1626,2465,1908,1002,2596,1574,3084,2185,2620,2104,2319,2193,2142,2184,2919,147407;
ip-[redacted] returned: prod:ttl=100,945327,43,194,49324719,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4659,0,0,1019,75,653,1302,1596,2515,1789,970,2574,1511,2984,2098,2805,2142,2183,2090,2243,2145,2871,144381;
ip-[redacted] returned: prod:ttl=100,945327,23,217,51636245,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4743,0,0,1141,76,654,1391,1600,2451,1918,1041,2591,1586,3045,2226,2746,2131,2335,2356,2275,2299,2935,149478;
ip-[redacted] returned: prod:ttl=100,945327,0,0,51064579,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5209,0,0,1138,93,764,1452,1737,2700,1958,1058,2726,1619,3217,2277,2993,2308,2489,2383,2287,2323,3092,158776;
Is there a way to force Aerospike to expire this data?
Thank you.