![]() |
Scan Policy
Definition at line 777 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 1413 of file as_policy.h.
|
related |
Initialize as_policy_scan to default values.
p | The policy to initialize. |
Definition at line 1395 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 808 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 799 of file as_policy.h.
uint32_t as_policy_scan::socket_timeout |
Maximum time in milliseconds to wait when polling socket for availability prior to performing an operation on the socket on the server side. Zero means there is no socket timeout.
Default: 10000 ms
Definition at line 793 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 timeout.
Definition at line 784 of file as_policy.h.