[ 
https://issues.apache.org/jira/browse/HBASE-3750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated HBASE-3750:
--------------------------

    Attachment: 3750-addendum.patch

There may be asymmetry for the use case Gary mentioned with table pool whose 
maxSize is not Integer.MAX_VALUE.
Namely putTable() sometimes flushes the buffer (for discarded table), sometimes 
not.
It would be hard for the user to debug the above situation.
This patch updates javadoc.

> HTablePool.putTable() should call tableFactory.releaseHTableInterface() for 
> discarded table
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-3750
>                 URL: https://issues.apache.org/jira/browse/HBASE-3750
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.90.1
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>             Fix For: 0.90.3
>
>         Attachments: 3750-addendum.patch, 3750-v2.patch, 3750.txt
>
>
> Currently HTablePool.putTable() doesn't call table.flushCommits()
> When HTable instance is discarded in putTable(), we should call 
> tableFactory.releaseHTableInterface().

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to