All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Enumerations
as_status.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  as_status {
  AEROSPIKE_BATCH_FAILED = -16, AEROSPIKE_NO_RESPONSE = -15, AEROSPIKE_MAX_ERROR_RATE = -14, AEROSPIKE_USE_NORMAL_RETRY = -13,
  AEROSPIKE_ERR_MAX_RETRIES_EXCEEDED = -12, AEROSPIKE_ERR_ASYNC_QUEUE_FULL = -11, AEROSPIKE_ERR_CONNECTION = -10, AEROSPIKE_ERR_TLS_ERROR = -9,
  AEROSPIKE_ERR_INVALID_NODE = -8, AEROSPIKE_ERR_NO_MORE_CONNECTIONS = -7, AEROSPIKE_ERR_ASYNC_CONNECTION = -6, AEROSPIKE_ERR_CLIENT_ABORT = -5,
  AEROSPIKE_ERR_INVALID_HOST = -4, AEROSPIKE_NO_MORE_RECORDS = -3, AEROSPIKE_ERR_PARAM = -2, AEROSPIKE_ERR_CLIENT = -1,
  AEROSPIKE_ERR = -1, AEROSPIKE_OK = 0, AEROSPIKE_ERR_SERVER = 1, AEROSPIKE_ERR_RECORD_NOT_FOUND = 2,
  AEROSPIKE_ERR_RECORD_GENERATION = 3, AEROSPIKE_ERR_REQUEST_INVALID = 4, AEROSPIKE_ERR_RECORD_EXISTS = 5, AEROSPIKE_ERR_BIN_EXISTS = 6,
  AEROSPIKE_ERR_CLUSTER_CHANGE = 7, AEROSPIKE_ERR_SERVER_FULL = 8, AEROSPIKE_ERR_TIMEOUT = 9, AEROSPIKE_ERR_ALWAYS_FORBIDDEN = 10,
  AEROSPIKE_ERR_CLUSTER = 11, AEROSPIKE_ERR_BIN_INCOMPATIBLE_TYPE = 12, AEROSPIKE_ERR_RECORD_TOO_BIG = 13, AEROSPIKE_ERR_RECORD_BUSY = 14,
  AEROSPIKE_ERR_SCAN_ABORTED = 15, AEROSPIKE_ERR_UNSUPPORTED_FEATURE = 16, AEROSPIKE_ERR_BIN_NOT_FOUND = 17, AEROSPIKE_ERR_DEVICE_OVERLOAD = 18,
  AEROSPIKE_ERR_RECORD_KEY_MISMATCH = 19, AEROSPIKE_ERR_NAMESPACE_NOT_FOUND = 20, AEROSPIKE_ERR_BIN_NAME = 21, AEROSPIKE_ERR_FAIL_FORBIDDEN = 22,
  AEROSPIKE_ERR_FAIL_ELEMENT_NOT_FOUND = 23, AEROSPIKE_ERR_FAIL_ELEMENT_EXISTS = 24, AEROSPIKE_ERR_ENTERPRISE_ONLY = 25, AEROSPIKE_ERR_OP_NOT_APPLICABLE = 26,
  AEROSPIKE_FILTERED_OUT = 27, AEROSPIKE_LOST_CONFLICT = 28, AEROSPIKE_QUERY_END = 50, AEROSPIKE_SECURITY_NOT_SUPPORTED = 51,
  AEROSPIKE_SECURITY_NOT_ENABLED = 52, AEROSPIKE_SECURITY_SCHEME_NOT_SUPPORTED = 53, AEROSPIKE_INVALID_COMMAND = 54, AEROSPIKE_INVALID_FIELD = 55,
  AEROSPIKE_ILLEGAL_STATE = 56, AEROSPIKE_INVALID_USER = 60, AEROSPIKE_USER_ALREADY_EXISTS = 61, AEROSPIKE_INVALID_PASSWORD = 62,
  AEROSPIKE_EXPIRED_PASSWORD = 63, AEROSPIKE_FORBIDDEN_PASSWORD = 64, AEROSPIKE_INVALID_CREDENTIAL = 65, AEROSPIKE_EXPIRED_SESSION = 66,
  AEROSPIKE_INVALID_ROLE = 70, AEROSPIKE_ROLE_ALREADY_EXISTS = 71, AEROSPIKE_INVALID_PRIVILEGE = 72, AEROSPIKE_INVALID_WHITELIST = 73,
  AEROSPIKE_QUOTAS_NOT_ENABLED = 74, AEROSPIKE_INVALID_QUOTA = 75, AEROSPIKE_NOT_AUTHENTICATED = 80, AEROSPIKE_ROLE_VIOLATION = 81,
  AEROSPIKE_NOT_WHITELISTED = 82, AEROSPIKE_QUOTA_EXCEEDED = 83, AEROSPIKE_ERR_UDF = 100, AEROSPIKE_ERR_BATCH_DISABLED = 150,
  AEROSPIKE_ERR_BATCH_MAX_REQUESTS_EXCEEDED = 151, AEROSPIKE_ERR_BATCH_QUEUES_FULL = 152, AEROSPIKE_ERR_GEO_INVALID_GEOJSON = 160, AEROSPIKE_ERR_INDEX_FOUND = 200,
  AEROSPIKE_ERR_INDEX_NOT_FOUND = 201, AEROSPIKE_ERR_INDEX_OOM = 202, AEROSPIKE_ERR_INDEX_NOT_READABLE = 203, AEROSPIKE_ERR_INDEX = 204,
  AEROSPIKE_ERR_INDEX_NAME_MAXLEN = 205, AEROSPIKE_ERR_INDEX_MAXCOUNT = 206, AEROSPIKE_ERR_QUERY_ABORTED = 210, AEROSPIKE_ERR_QUERY_QUEUE_FULL = 211,
  AEROSPIKE_ERR_QUERY_TIMEOUT = 212, AEROSPIKE_ERR_QUERY = 213, AEROSPIKE_ERR_UDF_NOT_FOUND = 1301, AEROSPIKE_ERR_LUA_FILE_NOT_FOUND = 1302
}
 

Enumeration Type Documentation

enum as_status

Status codes used as return values as as_error.code values.

Enumerator
AEROSPIKE_BATCH_FAILED 

One or more keys failed in a batch.

AEROSPIKE_NO_RESPONSE 

No response received from server.

AEROSPIKE_MAX_ERROR_RATE 

Max errors limit reached.

AEROSPIKE_USE_NORMAL_RETRY 

Abort split batch retry and use normal node retry instead. Used internally and should not be returned to user.

AEROSPIKE_ERR_MAX_RETRIES_EXCEEDED 

Max retries limit reached.

AEROSPIKE_ERR_ASYNC_QUEUE_FULL 

Async command delay queue is full.

AEROSPIKE_ERR_CONNECTION 

Synchronous connection error.

AEROSPIKE_ERR_TLS_ERROR 

Node invalid or could not be found.

AEROSPIKE_ERR_INVALID_NODE 

Node invalid or could not be found.

AEROSPIKE_ERR_NO_MORE_CONNECTIONS 

Asynchronous connection error.

AEROSPIKE_ERR_ASYNC_CONNECTION 

Asynchronous connection error.

AEROSPIKE_ERR_CLIENT_ABORT 

Query or scan was aborted in user's callback.

AEROSPIKE_ERR_INVALID_HOST 

Host name could not be found in DNS lookup.

AEROSPIKE_NO_MORE_RECORDS 

No more records available when parsing batch, scan or query records.

AEROSPIKE_ERR_PARAM 

Invalid client API parameter.

AEROSPIKE_ERR_CLIENT 

Generic client API usage error.

AEROSPIKE_ERR 

Deprecated. Generic client error. Keep for legacy reasons.

AEROSPIKE_OK 

Generic success.

AEROSPIKE_ERR_SERVER 

Generic error returned by server.

AEROSPIKE_ERR_RECORD_NOT_FOUND 

Record does not exist in database. May be returned by read, or write with policy AS_POLICY_EXISTS_UPDATE.

AEROSPIKE_ERR_RECORD_GENERATION 

Generation of record in database does not satisfy write policy.

AEROSPIKE_ERR_REQUEST_INVALID 

Request protocol invalid, or invalid protocol field.

AEROSPIKE_ERR_RECORD_EXISTS 

Record already exists. May be returned by write with policy AS_POLICY_EXISTS_CREATE.

AEROSPIKE_ERR_BIN_EXISTS 

Bin already exists on a create-only operation.

AEROSPIKE_ERR_CLUSTER_CHANGE 

A cluster state change occurred during the request. This may also be returned by scan operations with the fail_on_cluster_change flag set.

AEROSPIKE_ERR_SERVER_FULL 

The server node is running out of memory and/or storage device space reserved for the specified namespace.

AEROSPIKE_ERR_TIMEOUT 

Request timed out. Can be triggered by client or server.

AEROSPIKE_ERR_ALWAYS_FORBIDDEN 

Operation not allowed in current configuration.

AEROSPIKE_ERR_CLUSTER 

Partition is unavailable.

AEROSPIKE_ERR_BIN_INCOMPATIBLE_TYPE 

Bin modification operation can't be done on an existing bin due to its value type.

AEROSPIKE_ERR_RECORD_TOO_BIG 

Record being (re-)written can't fit in a storage write block.

AEROSPIKE_ERR_RECORD_BUSY 

Too may concurrent requests for one record - a "hot-key" situation.

AEROSPIKE_ERR_SCAN_ABORTED 

Scan aborted by user.

AEROSPIKE_ERR_UNSUPPORTED_FEATURE 

Sometimes our doc, or our customers wishes, get ahead of us. We may have processed something that the server is not ready for (unsupported feature).

AEROSPIKE_ERR_BIN_NOT_FOUND 

Bin not found on update-only operation.

AEROSPIKE_ERR_DEVICE_OVERLOAD 

The server node's storage device(s) can't keep up with the write load.

AEROSPIKE_ERR_RECORD_KEY_MISMATCH 

Record key sent with transaction did not match key stored on server.

AEROSPIKE_ERR_NAMESPACE_NOT_FOUND 

Namespace in request not found on server.

AEROSPIKE_ERR_BIN_NAME 

Sent too-long bin name (should be impossible in this client) or exceeded namespace's bin name quota.

AEROSPIKE_ERR_FAIL_FORBIDDEN 

Operation not allowed at this time.

AEROSPIKE_ERR_FAIL_ELEMENT_NOT_FOUND 

Map element not found in UPDATE_ONLY write mode.

AEROSPIKE_ERR_FAIL_ELEMENT_EXISTS 

Map element exists in CREATE_ONLY write mode.

AEROSPIKE_ERR_ENTERPRISE_ONLY 

Attempt to use an Enterprise feature on a Community server or a server without the applicable feature key.

AEROSPIKE_ERR_OP_NOT_APPLICABLE 

The operation cannot be applied to the current bin value on the server.

AEROSPIKE_FILTERED_OUT 

The transaction was not performed because the filter expression was false.

AEROSPIKE_LOST_CONFLICT 

Write command loses conflict to XDR.

AEROSPIKE_QUERY_END 

There are no more records left for query.

AEROSPIKE_SECURITY_NOT_SUPPORTED 

Security functionality not supported by connected server.

AEROSPIKE_SECURITY_NOT_ENABLED 

Security functionality not enabled by connected server.

AEROSPIKE_SECURITY_SCHEME_NOT_SUPPORTED 

Security type not supported by connected server.

AEROSPIKE_INVALID_COMMAND 

Administration command is invalid.

AEROSPIKE_INVALID_FIELD 

Administration field is invalid.

AEROSPIKE_ILLEGAL_STATE 

Security protocol not followed.

AEROSPIKE_INVALID_USER 

User name is invalid.

AEROSPIKE_USER_ALREADY_EXISTS 

User was previously created.

AEROSPIKE_INVALID_PASSWORD 

Password is invalid.

AEROSPIKE_EXPIRED_PASSWORD 

Password has expired.

AEROSPIKE_FORBIDDEN_PASSWORD 

Forbidden password (e.g. recently used)

AEROSPIKE_INVALID_CREDENTIAL 

Security credential is invalid.

AEROSPIKE_EXPIRED_SESSION 

Login session expired.

AEROSPIKE_INVALID_ROLE 

Role name is invalid.

AEROSPIKE_ROLE_ALREADY_EXISTS 

Role already exists.

AEROSPIKE_INVALID_PRIVILEGE 

Privilege is invalid.

AEROSPIKE_INVALID_WHITELIST 

Invalid IP whitelist.

AEROSPIKE_QUOTAS_NOT_ENABLED 

Quotas not enabled on server.

AEROSPIKE_INVALID_QUOTA 

Invalid quota.

AEROSPIKE_NOT_AUTHENTICATED 

User must be authentication before performing database operations.

AEROSPIKE_ROLE_VIOLATION 

User does not possess the required role to perform the database operation.

AEROSPIKE_NOT_WHITELISTED 

Command not allowed because sender IP not whitelisted.

AEROSPIKE_QUOTA_EXCEEDED 

Quota exceeded.

AEROSPIKE_ERR_UDF 

Generic UDF error.

AEROSPIKE_ERR_BATCH_DISABLED 

Batch functionality has been disabled.

AEROSPIKE_ERR_BATCH_MAX_REQUESTS_EXCEEDED 

Batch max requests have been exceeded.

AEROSPIKE_ERR_BATCH_QUEUES_FULL 

All batch queues are full.

AEROSPIKE_ERR_GEO_INVALID_GEOJSON 

Invalid/Unsupported GeoJSON

AEROSPIKE_ERR_INDEX_FOUND 

Index found.

AEROSPIKE_ERR_INDEX_NOT_FOUND 

Index not found

AEROSPIKE_ERR_INDEX_OOM 

Index is out of memory

AEROSPIKE_ERR_INDEX_NOT_READABLE 

Unable to read the index.

AEROSPIKE_ERR_INDEX 

Generic secondary index error.

AEROSPIKE_ERR_INDEX_NAME_MAXLEN 

Index name is too long.

AEROSPIKE_ERR_INDEX_MAXCOUNT 

System already has maximum allowed indices.

AEROSPIKE_ERR_QUERY_ABORTED 

Query was aborted.

AEROSPIKE_ERR_QUERY_QUEUE_FULL 

Query processing queue is full.

AEROSPIKE_ERR_QUERY_TIMEOUT 

Secondary index query timed out on server.

AEROSPIKE_ERR_QUERY 

Generic query error.

AEROSPIKE_ERR_UDF_NOT_FOUND 

UDF does not exist.

AEROSPIKE_ERR_LUA_FILE_NOT_FOUND 

LUA file does not exist.

Definition at line 30 of file as_status.h.