You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "ryan rawson (JIRA)" <ji...@apache.org> on 2010/03/29 06:44:27 UTC
[jira] Commented: (HBASE-2384) HTable#flushCommits() - information
about commit flush status in return type
[ https://issues.apache.org/jira/browse/HBASE-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850790#action_12850790 ]
ryan rawson commented on HBASE-2384:
------------------------------------
When a commit fails the method throws an exception... I don't think
the boolean would be necessary.
> HTable#flushCommits() - information about commit flush status in return type
> -----------------------------------------------------------------------------
>
> Key: HBASE-2384
> URL: https://issues.apache.org/jira/browse/HBASE-2384
> Project: Hadoop HBase
> Issue Type: Improvement
> Reporter: Kay Kay
> Fix For: 0.21.0
>
> Attachments: HBASE-2384.patch
>
>
> Currently, HTable#flushCommits() ( i.e. HTableInterface) returns void , but the failure of the flush is not obvious to the user (although, taken care internally by appending to writeBuffer ).
> Changing return type to boolean , to help handle on the client side ( logging / retry etc. ) .
> Propagate the change to put(Put), put(List<Put) .
> Add a warning to close() as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.