FAQ paxos-single-replica-limit


#1

#FAQ Paxos-single-replica-limit

What is paxos-single-replica-limit?

Paxos-single-replica-limit is a parameter within the service stanza that defines a minimum amount of nodes in the cluster below which replica records will not be stored. This means only master copies will be stored on the cluster.

http://www.aerospike.com/docs/reference/configuration/#paxos-single-replica-limit

What is the default value?

The default value for paxos-single-replica-limit is 1. This makes sense as there is no value to holding replica records in a single node cluster.

Can the parameter be set dynamically?

No, this is a static parameter and cannot be set with asinfo. It is unanimous meaning all nodes within the cluster must have the same value for the cluster to form. If a node is started with a different value for paxos-single-replica-limit to other cluster nodes it will not join the cluster.

Where might the parameter be set to a value greater than 0?

If a use case prioritised availability of new records and system resources are limited, it may not be desirable to wait until only 1 node remains before stopping storage of replicas.

Is paxos-single-replica-limit respected in a rack aware configuration?

Yes. Whether the nodes that go down are of the same group or different groups to the remaining nodes, the value for paxos-single-replica-limit will be respected.


FAQ - What are the unanimous configuration parameters