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

HTable.flushCommits clears write buffer in finally clause

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.20.0, 0.90.0
    • Client
    • None
    • All

    • 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
          4 kB
          Andrew Kyle Purtell
        2. HBASE-1780.patch
          3 kB
          Andrew Kyle Purtell

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: