Skip to content

Commit

Permalink
CLIENT-3185 Add AEROSPIKE_MRT_TOO_MANY_WRITES error code.
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianNichols committed Nov 21, 2024
1 parent 1d0cfc9 commit 886306e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/include/aerospike/as_status.h
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,11 @@ typedef enum as_status_e {
*/
AEROSPIKE_MRT_ABORTED = 34,

/**
* MRT write command limit (4096) exceeded.
*/
AEROSPIKE_MRT_TOO_MANY_WRITES = 35,

/**
* There are no more records left for query.
*/
Expand Down
1 change: 1 addition & 0 deletions src/main/aerospike/as_error.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ as_error_string(as_status status)
CASE_ASSIGN(AEROSPIKE_XDR_KEY_BUSY);
CASE_ASSIGN(AEROSPIKE_MRT_COMMITTED);
CASE_ASSIGN(AEROSPIKE_MRT_ABORTED);
CASE_ASSIGN(AEROSPIKE_MRT_TOO_MANY_WRITES);
CASE_ASSIGN(AEROSPIKE_SECURITY_NOT_SUPPORTED);
CASE_ASSIGN(AEROSPIKE_SECURITY_NOT_ENABLED);
CASE_ASSIGN(AEROSPIKE_SECURITY_SCHEME_NOT_SUPPORTED);
Expand Down

0 comments on commit 886306e

Please sign in to comment.