GeezerVison is showing github.com — spanner-jdbc: Fix possible IllegalArgumentException in SingleUseTransaction by olavloite · Pull Request #6175 · googleapis/google-cloud-java
Conversation
olavloite
commented
Aug 27, 2019
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
The fireAndForgetRollbackAndCloseTxManager method could cause an IllegalArgumentException
if it happened to execute after a different method had already closed the
TransactionManager. The fireAndForgetRollback method has therefore been removed. This is
something that should rather be added to the TransactionManager itself.
codecov
Bot
commented
Aug 27, 2019
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Merging #6175 into master will decrease coverage by <.01%.
The diff coverage is 70%.

@@ Coverage Diff @@
## master #6175 +/- ##
============================================
- Coverage 47.5% 47.5% -0.01%
+ Complexity 27447 27429 -18
============================================
Files 2523 2523
Lines 274592 274572 -20
Branches 31396 31396
============================================
- Hits 130445 130422 -23
- Misses 134514 134519 +5
+ Partials 9633 9631 -2
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b188bf3...a4a8fc3. Read the comment docs.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
I would merge this but I'm uncertain about this Linkage Monitor failure. I don't think it's related since it's complaining about a Bigtable client gax issue.
Class com.google.api.gax.batching.BatchingDescriptor is not found
referenced from com.google.cloud.bigtable.data.v2.stub.BigtableBatchingCallSettings (google-cloud-bigtable-0.106.1-SNAPSHOT.jar)
referenced from com.google.cloud.bigtable.data.v2.stub.mutaterows.MutateRowsBatchingDescriptorV2 (google-cloud-bigtable-0.106.1-SNAPSHOT.jar)
Class com.google.api.gax.batching.BatchingRequestBuilder is not found
referenced from com.google.cloud.bigtable.data.v2.stub.mutaterows.MutateRowsBatchingDescriptorV2 (google-cloud-bigtable-0.106.1-SNAPSHOT.jar)
Class com.google.api.gax.batching.BatcherImpl is not found
referenced from com.google.cloud.bigtable.data.v2.stub.EnhancedBigtableStub (google-cloud-bigtable-0.106.1-SNAPSHOT.jar)
Class com.google.api.gax.batching.BatchingCallSettings is not found
referenced from com.google.cloud.bigtable.data.v2.stub.BigtableBatchingCallSettings (google-cloud-bigtable-0.106.1-SNAPSHOT.jar)
Class com.google.api.gax.batching.BatchingCallSettings$Builder is not found
referenced from com.google.cloud.bigtable.data.v2.stub.BigtableBatchingCallSettings (google-cloud-bigtable-0.106.1-SNAPSHOT.jar)
Exception in thread "main" com.google.cloud.tools.dependencies.linkagemonitor.LinkageMonitorException: Found 5 new linkage errors
at com.google.cloud.tools.dependencies.linkagemonitor.LinkageMonitor.run(LinkageMonitor.java:105)
at com.google.cloud.tools.dependencies.linkagemonitor.LinkageMonitor.main(LinkageMonitor.java:63)
@kolea2, can you confirm whether it's ok to merge this in?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
@skuruppu I had the same issue with a different PR yesterday and talked to @kolea2 about it. She confirmed that it is unrelated to this
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
@skuruppu @olavloite yep, that is a temporary break while we wait for the linkage monitor build to be updated. Fine to merge.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
suztomo
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Mar 23, 2026
…action (googleapis#6175)
* remove fireAndForget rollback as it could cause an IAE
The fireAndForgetRollbackAndCloseTxManager method could cause an IllegalArgumentException
if it happened to execute after a different method had already closed the
TransactionManager. The fireAndForgetRollback method has therefore been removed. This is
something that should rather be added to the TransactionManager itself.
* added comments to clearify how the tx is rollbacked
Reviewers
2 more reviewers
kolea2
kolea2 left review comments
skuruppu
skuruppu approved these changes
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
cla: yes
This human has signed the Contributor License Agreement.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.