Skip to content

Conversation

olavloite
Copy link
Collaborator

The future that is returned by commitAsync() seems to never finish in some cases. It is unknown exactly what causes it, and this change adds a number of safety precautions that should ensure that the future always returns a result eventually. This is always easier to debug and handle than a future that never returns a value.

The future that is returned by commitAsync() seems to never finish
in some cases. It is unknown exactly what causes it, and this change
adds a number of safety precautions that should ensure that the
future always returns a result eventually. This is always easier
to debug and handle than a future that never returns a value.
@olavloite olavloite requested a review from a team as a code owner July 17, 2024 11:16
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: spanner Issues related to the googleapis/java-spanner API. labels Jul 17, 2024
@olavloite olavloite requested a review from rahul2393 July 17, 2024 16:56
@rahul2393 rahul2393 merged commit 440c88b into main Jul 23, 2024
@rahul2393 rahul2393 deleted the ensure-commit-async-finishes branch July 23, 2024 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/java-spanner API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants