hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Leach (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-13378) RegionScannerImpl synchronized for READ_UNCOMMITTED Isolation Levels
Date Wed, 01 Apr 2015 15:13:52 GMT
John Leach created HBASE-13378:
----------------------------------

             Summary: RegionScannerImpl synchronized for READ_UNCOMMITTED Isolation Levels
                 Key: HBASE-13378
                 URL: https://issues.apache.org/jira/browse/HBASE-13378
             Project: HBase
          Issue Type: New Feature
            Reporter: John Leach
            Priority: Minor


This block of code below coupled with the close method could be changed so that READ_UNCOMMITTED
does not synchronize.  

{CODE:JAVA}
      // synchronize on scannerReadPoints so that nobody calculates
      // getSmallestReadPoint, before scannerReadPoints is updated.
      IsolationLevel isolationLevel = scan.getIsolationLevel();
      synchronized(scannerReadPoints) {
        this.readPt = getReadpoint(isolationLevel);
        scannerReadPoints.put(this, this.readPt);
      }
{CODE}

This hotspots for me under heavy get requests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message