Skip to content

revert: Revert "fix: BigtableSession is never closed by Reader causing "ManagedChanne… (#2782)#2873

Merged
igorbernstein2 merged 1 commit into
googleapis:masterfrom
kolea2:revert-2782
Mar 9, 2021
Merged

revert: Revert "fix: BigtableSession is never closed by Reader causing "ManagedChanne… (#2782)#2873
igorbernstein2 merged 1 commit into
googleapis:masterfrom
kolea2:revert-2782

Conversation

@kolea2

@kolea2 kolea2 commented Mar 8, 2021

Copy link
Copy Markdown
Contributor

This reverts commit 5340db5

As per #2871 (comment), reverting this change

@kolea2 kolea2 requested a review from a team March 8, 2021 16:54
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Mar 8, 2021
@product-auto-label product-auto-label Bot added the api: bigtable Issues related to the googleapis/java-bigtable-hbase API. label Mar 8, 2021

@igorbernstein2 igorbernstein2 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@igorbernstein2 igorbernstein2 merged commit 3568c27 into googleapis:master Mar 9, 2021
@kolea2 kolea2 deleted the revert-2782 branch October 21, 2021 18:55
baeminbo added a commit to baeminbo/java-bigtable-hbase that referenced this pull request Dec 12, 2022
* Reader.close(): fixes googleapis#2658 where original fix googleapis#2782 was rolled back by googleapis#2871 and googleapis#2873. As we don’t use “session” here anymore, I believe we should close “connection” here.
* AbstractCloudBigtableTableDoFn.tearDown(): If an exception happened in ProcessElement, FinishBundle is not executed. We should clean up resources in TearDown. You can see the similar code with BigQueryIO apache/beam#14949.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigtable Issues related to the googleapis/java-bigtable-hbase API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants