Skip to content

Lock remains on a record when application crashes during transaction #129

@rszik

Description

@rszik

If the application crashes during a transaction using the latest sdk, the transaction lock remains on the record even after restarting the couchbase server.
Therefore the updates after this lock will always throw a TransactionFailedException with CausingErrorClass = FailWriteWriteConflict message.

VERSIONS:
SDK versions:
Couchbase.Transactions 3.8.0
CouchbaseNetClient 3.8.0
Tested server version
Community Edition 8.0.0 build 3777 -> problem persits
Community Edition 7.6.2 build 3721 -> problem persits

The unittests are in the attached zip.
Reproduce steps also in the attached zip/error_readme.md

Couchbase_app_crash_in_transaction_test.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions