We have a production environment with many Aerospike nodes. Now we need to add a new namespace to that cluster, so we changed all the configuration files, but we yet have to restart the servers so the change take place.
Which is the best way to apply the config change (with the new namespace) and keeping the whole cluster active without interfering with production operations? Is there a way to restart one by one?
That solution is very involved and requires using an enterprise feature (XDR) and asbackup as well as being able to trigger your clients to “cut over to the new cluster”.
What I believe is being asked in this thread is the ability to add a namespace to an existing cluster without downtime. I assume this means either dynamically or through rolling restart were at most (replication factor - 1) nodes are down at any given instant. The latter is frequently discussed internally and many of the major obstacles for rolling in a namespace intersect with current feature development efforts.
The ability to add/remove namespaces with rolling restart of the cluster is added starting server version 3.13.0.1 for both Community and Enterprise versions on paxos-protocol version v5.
It means that you can add/remove a namespace in aerospike.conf and restart the cluster one node at a time (which means no downtime for existing namespaces).
Sorry, but I am afraid that this may not be what this post expected: Create a new namespace dynamically, without restart. I thought we can dynamically add/remove namespaces instead of configuring it and restart the cluster, I think that is more attractive. Any plan for this feature? Thanks.