Wanting to lower default TTL in cluster

Hello, I have a quick question. We have a cluster with 5 servers and was wanting to lower the default TTL? Do I just lower the TTL one host at a time and wait a day or so then lower it on the next? What is the normal routine for doing this? Please and thank you.

You can lower the default-ttl across all of the servers at the same time.

This command will update the running config for all of the nodes, you will still want to update the static configuration (/etc/aerospike/aerospke.conf) file.

asadm -e "asinfo -v 'set-config:context=namespace;id=NAMESPACE_NAME;default-ttl=NEW_VALUE'"

Thank you so much. This is exactly what I was looking for.

1 Like

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.

© 2015 Copyright Aerospike, Inc. | All rights reserved. Creators of the Aerospike Database.