Asinfo in v4 vs v5

Hi,

In Aerospike 4 I could disable XDR with something like this:

“asinfo -v "set-config:context=namespace;id=namespaceName;enable-xdr=false"

In Aerospike 5 with XDR being namespace/dc specific I can do things like this:

asinfo -h localhost -v "set-config:context=xdr;dc=aerospike_b;action=remove"

But if I need to re-create aka re-enable, it seems to me I would have to have a list of commands for asinfo of each of the configuration values for my name space.

Is there a way that I can toggle things easier without restarting? Thanks.

You can set max-throughput to zero to temporarily pause XDR shipping. If you wan to remove and later add if needed, dynamically, then you have to do one config param at a time. Hope this slide below helps:

1 Like

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