Skip to content

[CLIENT-3994] Improve error actionability by adding subcode field to AerospikeError#1103

Draft
juliannguyen4 wants to merge 40 commits into
CLIENT-4836-add-string-ops-and-expressionsfrom
CLIENT-3994-improve-error-actionability
Draft

[CLIENT-3994] Improve error actionability by adding subcode field to AerospikeError#1103
juliannguyen4 wants to merge 40 commits into
CLIENT-4836-add-string-ops-and-expressionsfrom
CLIENT-3994-improve-error-actionability

Conversation

@juliannguyen4

@juliannguyen4 juliannguyen4 commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Not adding new subcode attribute to AerospikeError.args tuple to avoid a breaking API change.

TODO

  • Address outstanding test failure using server 8.1.3

Doc changes

…eck for verbosity levels > 2, so I guess the server will return an error.
…ed server versions. This is to make sure undefined behavior doesn't happen in the client (e.g uninitialized reads)
… the server now has the correct 8.1.3 version.
@codecov-commenter

codecov-commenter commented Jun 17, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 78.57143% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.96%. Comparing base (f7be6be) to head (c870319).

Files with missing lines Patch % Lines
src/main/exception.c 75.00% 3 Missing ⚠️
src/main/policy_config.c 76.92% 3 Missing ⚠️
Additional details and impacted files
@@                              Coverage Diff                               @@
##           CLIENT-4836-add-string-ops-and-expressions    #1103      +/-   ##
==============================================================================
- Coverage                                       84.98%   84.96%   -0.02%     
==============================================================================
  Files                                             102      102              
  Lines                                           14836    14857      +21     
==============================================================================
+ Hits                                            12608    12623      +15     
- Misses                                           2228     2234       +6     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…) and append() only when strings are passed as arguments in favor of the string ops version.
…prepend() and append() only when strings are passed as arguments in favor of the string ops version."

This reverts commit ae388db.
@juliannguyen4 juliannguyen4 changed the title [CLIENT-3994] Improve error actionability [CLIENT-3994] Improve error actionability by adding subcode field to AerospikeError Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants