Maximum number of retries before aborting the current transaction.
The initial attempt is not counted as a retry.
Namespace: Aerospike.ClientIf maxRetries is exceeded, the transaction will abort with AerospikeException Timeout.
WARNING: Database writes that are not idempotent (such as Add()) should not be retried because the write operation may be performed multiple times if the client timed out previous transaction attempts. It's important to use a distinct WritePolicy for non-idempotent writes which sets maxRetries = 0;
Default for read: 2 (initial attempt + 2 retries = 3 attempts)
Default for write/query/scan: 0 (no retries)
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 3.7.0.0 (3.7.0)
Syntax
See Also