Why Aerospike delete all objects?


Hi all! I have a problem - after restart all nodes, aerospike delete all objects. Why?


In your other post, you had given the configuration of your database. The issue is that there is no line telling the database whether or not to read from the persistence file. By default it is “false”, if it has not been set. This means that the database will ignore the persistence file. You can turn it on by adding the “load-at-startup” value in the configuration file.

Note that it will take some time to start the node when it reads from the file.

namespace NAMESPACE { … storage-engine device { … data-in-memory true load-at-startup true } … }