You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2009/08/27 21:41:59 UTC

[jira] Resolved: (HBASE-1780) HTable.flushCommits clears write buffer in finally clause

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

Andrew Purtell resolved HBASE-1780.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.21.0
         Assignee: Andrew Purtell
     Hadoop Flags: [Reviewed]

Committed to branch and trunk with synchronization bits removed and a comment that HTable is not MT safe for writes.

> HTable.flushCommits clears write buffer in finally clause
> ---------------------------------------------------------
>
>                 Key: HBASE-1780
>                 URL: https://issues.apache.org/jira/browse/HBASE-1780
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: client
>         Environment: All
>            Reporter: Mathias Herberts
>            Assignee: Andrew Purtell
>             Fix For: 0.20.0, 0.21.0
>
>         Attachments: HBASE-1780.patch, HBASE-1780.patch
>
>
> Metthod flushCommits clears the write buffer in a finally clause.
> When using the write buffer, if the call to processBatchOfRows done in flushCommits throws an exception, the write buffer will be cleared thus potentially leading to loss of data on the client side.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.