Add transaction support to Kotlin SDK

Description

Kotlin SDK does not include transaction support. Would be nice to add them into it.

Environment

None

Gerrit Reviews

KCBC-96 Add transaction support to repo:couchbase-jvm-clients branch:master

Release Notes Description

None

Activity

David Nault October 22, 2024 at 8:00 PM

Couchbase transactions API has been added to Kotlin SDK 1.4.4 at stability level “volatile” (may change without notice).

David Nault September 11, 2024 at 9:20 PM

Note to self: iron out this wrinkle: if a coroutine running a transaction is cancelled, ensure the transaction gets rolled back. I suspect currently core-io handles the transaction attempt mono throwing an error, but I don’t think there’s currently any handling for if the mono gets cancelled.

Graham Pople June 27, 2022 at 4:25 PM

98% of the transactions logic is now in core-io, with a thin Java-specific wrapper in java-client.  It shouldn't be too hard to add Kotlin and Scala versions - just needs priorisation.

Resolved
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

PM FY QTR Ask

25 Q4

Sprint

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created June 16, 2022 at 2:37 PM
Updated January 28, 2025 at 3:53 AM
Resolved October 1, 2024 at 4:27 PM
Instabug