You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Ted Yu <te...@yahoo.com> on 2011/04/09 21:48:31 UTC
Review Request: When HTable instance is discarded in putTable(),
we should call tableFactory.releaseHTableInterface()
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/573/
-----------------------------------------------------------
Review request for hbase and Lars George.
Summary
-------
Currently HTablePool.putTable() doesn't call table.flushCommits()
If AutoFlush is disabled for table instance, we should call table.flushCommits().
When HTable instance is discarded in putTable(), we should call tableFactory.releaseHTableInterface().
This addresses bug HBASE-3750.
https://issues.apache.org/jira/briwse/HBASE-3750
Diffs
-----
/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java 1090500
Diff: https://reviews.apache.org/r/573/diff
Testing
-------
TestHTablePool passes.
Thanks,
Ted