HBase
  1. HBase
  2. HBASE-1780

HTable.flushCommits clears write buffer in finally clause

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development