Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make sure commitAsync always finishes #3216

Merged
merged 1 commit into from
Jul 23, 2024

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
32 of 34 checks passed
@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