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

Refactor the RSRpcServices#doBatchOp

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0
    • regionserver
    • None
    • Reviewed

    Description

      follow the discussion in https://issues.apache.org/jira/browse/HBASE-19876?focusedCommentId=16359618&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16359618

      RSRpcServices#doBatchOp will throw IOE to log the error in the region-level response if any mutation fails in atomic mode. However, the exception in method signature force normal (non-atomic) batch to handle the exception even though IOE won't be thrown in non-atomic mode.

      Attachments

        1. HBASE-20084.v0.patch.patch
          11 kB
          Chia-Ping Tsai

        Activity

          People

            chia7712 Chia-Ping Tsai
            chia7712 Chia-Ping Tsai
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: