Skip to content

CXXCBC-810: Fix transactions layer and add unit tests#930

Open
avsej wants to merge 1 commit into
couchbase:mainfrom
avsej:fix/cxxcbc-810-transactions-explicit-error-init-scoped-lock-fail-doc-not-found
Open

CXXCBC-810: Fix transactions layer and add unit tests#930
avsej wants to merge 1 commit into
couchbase:mainfrom
avsej:fix/cxxcbc-810-transactions-explicit-error-init-scoped-lock-fail-doc-not-found

Conversation

@avsej
Copy link
Copy Markdown
Member

@avsej avsej commented Mar 27, 2026

  • Replace implicit couchbase::error{} brace-init with explicit constructor calls
  • Fix FAIL_DOC_NOT_FOUND misuse in transaction_operation_failed()
  • Return std::string_view from staged_mutation::type_as_string()
  • Replace std::lock_guard with std::scoped_lock throughout
  • Add error_class_from_response specialization for lookup_in_response
  • Fix missing transactions_config move-assignment operator
  • Add unit tests: error_class_from_response, atr_entry::has_expired, type_as_string
  • Add Doxygen comments to affected functions

@avsej avsej added help wanted Extra attention is needed review wanted This needs reviewing labels Mar 27, 2026
@avsej avsej force-pushed the fix/cxxcbc-810-transactions-explicit-error-init-scoped-lock-fail-doc-not-found branch from 79ae6ea to fc9ad2d Compare March 28, 2026 00:53
@avsej avsej removed the review wanted This needs reviewing label Apr 7, 2026
- Replace implicit couchbase::error{} brace-init with explicit constructor calls
- Fix FAIL_DOC_NOT_FOUND misuse in transaction_operation_failed()
- Return std::string_view from staged_mutation::type_as_string()
- Replace std::lock_guard with std::scoped_lock throughout
- Add error_class_from_response specialization for lookup_in_response
- Fix missing transactions_config move-assignment operator
- Add unit tests: error_class_from_response, atr_entry::has_expired, type_as_string
- Add Doxygen comments to affected functions
@avsej avsej force-pushed the fix/cxxcbc-810-transactions-explicit-error-init-scoped-lock-fail-doc-not-found branch from fc9ad2d to 46f4cf6 Compare April 14, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

help wanted Extra attention is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant