FAQ - When can a namespace added by rolling restart by accessed by an application?


#1

FAQ - When can a namespace added by rolling restart by accessed by an application?

Detail

The ability to add a namespace without a whole cluster restart was added with the new cluster protocol introduced with Aerospike 3.13. From this point it was possible to add a namespace with a rolling restart. During the rolling restart there will be some nodes that have the new namespace and some nodes that do not. With a namespace in Available Mode when can the namespace be accessed? Is it necessary to wait until the rolling restart has been completed and the namespace is present on all nodes?

Answer

No, it is not necessary in Available Mode to wait until the rolling restart has been completed to access and store data in the new namespace. As soon as the new namespace is available on one node it can be used.

Notes

In Available Mode, it is operational best practise to wait until the namespace is available on all nodes to minimise migrations but it is not a strict requirement.

In Strong Consistency Mode the namespace is available as soon as a roster of nodes is set using the roster-set command and a subsequent recluster command.

Keywords

NAMESPACE ROLLING RESTART AVAILABLE

Timestamp

12/12/18