GoogleCloudPlatform / GoogleCloudPlatform/cloud-spanner-r2dbc

Determine correct behavior when transaction commit or rollback fails

Open
#288 1 comment 0 reactions 0 assignees View on GitHub
enhancement exploratory P3
Dominant language
Java
Stars
60
Forks
31
PR merge metrics
No merged PRs in 30d

Description

Simulate failing transaction.

Right now, `DatabaseClientReactiveAdapter` clears transaction manager at the end of either commit or rollback. If commit/rollback fails, this may not be correct behavior, especially for commit.

Consider whether transaction state should be kept until a successful commit/rollback, and document how end users should recover from such a state.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.