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

Improve multiPut/multiDelete by moving HLog.append and updateTimestamp out of the updateLock.readLock.lock()/unlock() functionality

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Incomplete
    • 0.89.20100924, 0.89-fb, 0.94.0
    • None
    • regionserver
    • None

    Description

      whenever we do a batchMutateWithLocks in HRegion,

      we get the HRegion.updateLock.readLock() ...

      My understanding is that we need the updateLock.readLock only
      to protect the updates to the memStore.

      HLog.append() has its own serialization/locking using HLog.updateLock
      We can move this out of the HRegion.updateLock lock grabbing.

      (ii) updating the timestamp for deltes and puts, can also be done before
      grabbing the lock.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              amitanand Amitanand Aiyer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: