hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ryan rawson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-2384) HTable#flushCommits() - information about commit flush status in return type
Date Mon, 29 Mar 2010 04:44:27 GMT

    [ 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.


Mime
View raw message