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

Multi-actions in hbase-client could fall in dead loop when region moves.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Incomplete
    • 0.98.13
    • None
    • Client
    • None

    Description

      The code in AsyncProcess.receiveGlobalFailure() use only one row to update region cache in hbase-client. When we use HTable.put(List<Put>) api to write some data which are from different regions and some of them are moved/balanced while writing, the client may fall into a dead loop: multi-actions fails because some regions moved => update only one region cache(not the wrong ones) => resubmit => failed again.
      It only happens in 0.98 branch, and the master branch is ok.
      The patch followed should update all cached region locations when multi-actions fails.

      Attachments

        1. HBASE-13896-0.98-v1.patch
          2 kB
          Victor Xu

        Activity

          People

            Unassigned Unassigned
            victorunique Victor Xu
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: