Skip to content

Commit

Permalink
CLIENT-3098 Add AEROSPIKE_XDR_KEY_BUSY status code.
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianNichols committed Aug 27, 2024
1 parent ce04a8a commit a6fcbca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/include/aerospike/as_status.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2008-2022 Aerospike, Inc.
* Copyright 2008-2024 Aerospike, Inc.
*
* Portions may be licensed to Aerospike, Inc. under one or more contributor
* license agreements.
Expand Down Expand Up @@ -280,6 +280,11 @@ typedef enum as_status_e {
*/
AEROSPIKE_LOST_CONFLICT = 28,

/**
* Write can't complete until XDR finishes shipping.
*/
AEROSPIKE_XDR_KEY_BUSY = 32,

/**
* There are no more records left for query.
*/
Expand Down
3 changes: 2 additions & 1 deletion src/main/aerospike/as_error.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2008-2022 Aerospike, Inc.
* Copyright 2008-2024 Aerospike, Inc.
*
* Portions may be licensed to Aerospike, Inc. under one or more contributor
* license agreements.
Expand Down Expand Up @@ -77,6 +77,7 @@ as_error_string(as_status status)
CASE_ASSIGN(AEROSPIKE_ERR_OP_NOT_APPLICABLE);
CASE_ASSIGN(AEROSPIKE_FILTERED_OUT);
CASE_ASSIGN(AEROSPIKE_LOST_CONFLICT);
CASE_ASSIGN(AEROSPIKE_XDR_KEY_BUSY);
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 a6fcbca

Please sign in to comment.