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

Client: Ability to Discard Bad HTable Puts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.89.20100924, 0.90.3, 0.92.0
    • 0.90.4, 0.92.0
    • Client
    • None

    Description

      While debugging an application consistency issue, we noticed that a single, synchronous Put request threw a NoServerForRegionException but eventually succeeded 90 seconds later. The problem is that failed put requests are not actually removed from the HTable's writeBuffer. This makes sense for asynchronous puts using setAutoFlush(false) but don't make sense for the default case where we expect synchronous operation. We should discard all failed puts for the synchronous case and provide an API so asynchronous requests can have their failed puts cleared.

      Attachments

        1. HBASE-3974.patch
          5 kB
          Nicolas Spiegelberg

        Activity

          People

            nspiegelberg Nicolas Spiegelberg
            nspiegelberg Nicolas Spiegelberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: