Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-1780

HTable.flushCommits clears write buffer in finally clause

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.20.0, 0.90.0
    • Component/s: Client
    • Labels:
      None
    • Environment:

      All

    • Hadoop Flags:
      Reviewed

      Description

      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.

        Attachments

        1. HBASE-1780.patch
          3 kB
          Andrew Purtell
        2. HBASE-1780.patch
          4 kB
          Andrew Purtell

          Activity

            People

            • Assignee:
              apurtell Andrew Purtell
              Reporter:
              herberts Mathias Herberts
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: