![]() |
Scan Policy
Definition at line 783 of file as_policy.h.
#include "as_policy.h"
Data Fields | |
bool | durable_delete |
bool | fail_on_cluster_change |
uint32_t | socket_timeout |
uint32_t | timeout |
Related Functions | |
(Note that these are not member functions.) | |
static void | as_policy_scan_copy (as_policy_scan *src, as_policy_scan *trg) |
static as_policy_scan * | as_policy_scan_init (as_policy_scan *p) |
|
related |
Copy as_policy_scan values.
src | The source policy. |
trg | The target policy. |
Definition at line 1425 of file as_policy.h.
|
related |
Initialize as_policy_scan to default values.
p | The policy to initialize. |
Definition at line 1407 of file as_policy.h.
References durable_delete, fail_on_cluster_change, socket_timeout, and timeout.
bool as_policy_scan::durable_delete |
If the scan runs a UDF which results in a record deletion, leave a tombstone for the record. This prevents deleted records from reappearing after node failures. Valid for Aerospike Server Enterprise Edition only.
Default: false (do not tombstone deleted records).
Definition at line 813 of file as_policy.h.
bool as_policy_scan::fail_on_cluster_change |
Abort the scan if the cluster is not in a stable state.
Definition at line 804 of file as_policy.h.
uint32_t as_policy_scan::socket_timeout |
Maximum socket idle time in milliseconds when processing a database command. Zero means do not apply a socket idle timeout.
This scan socket timeout is also applied on server side as well.
Default: 10000 ms
Definition at line 799 of file as_policy.h.
uint32_t as_policy_scan::timeout |
Maximum time in milliseconds to wait for the operation to complete. The default (0) means do not apply a total timeout.
Definition at line 789 of file as_policy.h.