Skip to content

Conversation

@olavloite
Copy link

Do not close the TransactionManager two different threads. The fireAndForgetRollbackAndCloseTxManager(...) call will close the transaction manager after the commit. The main thread should not also close the transaction manager.

Updates #6075

Do not close the TransactionManager twice in two different threads.
The fireAndForgetRollbackAndCloseTxManager(...) call will close the
transaction manager after the commit. The main thread should not also
close the transaction manager.
@olavloite olavloite requested a review from kolea2 August 16, 2019 11:42
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Aug 16, 2019
@codecov
Copy link

codecov bot commented Aug 16, 2019

Codecov Report

Merging #6095 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #6095      +/-   ##
============================================
- Coverage     47.38%   47.38%   -0.01%     
+ Complexity    27182    27180       -2     
============================================
  Files          2523     2523              
  Lines        274581   274580       -1     
  Branches      31380    31380              
============================================
- Hits         130123   130119       -4     
- Misses       134850   134851       +1     
- Partials       9608     9610       +2
Impacted Files Coverage Δ Complexity Δ
...oogle/cloud/spanner/jdbc/SingleUseTransaction.java 86.81% <100%> (-0.97%) 39 <0> (-1)
...able/gaxx/reframing/ReframingResponseObserver.java 88.99% <0%> (-1.84%) 29% <0%> (-1%)
...ain/java/com/google/cloud/pubsub/v1/Publisher.java 89.45% <0%> (+0.34%) 40% <0%> (ø) ⬇️

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 1daf76a...8b360a9. Read the comment docs.

@olavloite olavloite merged commit 81aad64 into googleapis:master Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants