Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-5229 Provide basic building blocks for "multi-row" local transactions.
  3. HBASE-5541

Avoid holding the rowlock during HLog sync in HRegion.mutateRowWithLocks

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.94.0
    • Component/s: Client, regionserver
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently mutateRowsWithLocks holds the row lock while the HLog is sync'ed.
      Similar to what we do in doMiniBatchPut, we should create the log entry with the lock held, but only sync the HLog after the lock is released, along with rollback logic in case the sync'ing fails.

        Attachments

        1. 5541-v2.txt
          5 kB
          Lars Hofhansl
        2. 5541.txt
          5 kB
          Lars Hofhansl

          Issue Links

            Activity

              People

              • Assignee:
                larsh Lars Hofhansl
                Reporter:
                larsh Lars Hofhansl
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: