Namespace configuration in Aerospike 5 - namespace vs dc contexts

Hi !

I’m making the 4.9 to 5.x jump soon. I’m scratching my head a little bit about moving my namespaces into the xdr { dc { } } context. Lets say I have one namespace with XDR named A-namespace and one without named B-namespace.

Should they both be defined in the namespace {} top level context, to define things like replication-factor and what not, and then A-namespace be defined inside xdr { dc { namespace {} } } , but with the xdr specific configs only?


yes. you got it right.

1 Like