QueryPolicy Constructor

Aerospike
Overload List

  NameDescription
Public methodQueryPolicy
Default constructor.

Set maxRetries for non-aggregation queries with a null filter. All other queries are not retried.

The latest servers support retries on individual data partitions. This feature is useful when a cluster is migrating and partition(s) are missed or incomplete on the first query (with null filter) attempt.

If the first query attempt misses 2 of 4096 partitions, then only those 2 partitions are retried in the next query attempt from the last key digest received for each respective partition. A higher default maxRetries is used because it's wasteful to invalidate all query results because a single partition was missed.

Public methodQueryPolicy(QueryPolicy)
Copy query policy from another query policy.
Top
See Also

Reference