Defines type of node partition targeted by read commands.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 3.2.0.0 (3.2.1)
Syntax
Members
Member name | Value | Description | |
---|---|---|---|
MASTER | 0 | Read from node containing key's master partition. This is the default behavior. | |
MASTER_PROLES | 1 | Distribute reads across nodes containing key's master and replicated partitions in round-robin fashion. This option requires to be enabled in order to function properly. | |
RANDOM | 2 | Distribute reads across all nodes in cluster in round-robin fashion. This option is useful when the replication factor equals the number of nodes in the cluster and the overhead of requesting proles is not desired. |
See Also