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

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.94.0
    • Client, regionserver
    • None
    • 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.txt
          5 kB
          Lars Hofhansl
        2. 5541-v2.txt
          5 kB
          Lars Hofhansl

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: