You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "John Leach (JIRA)" <ji...@apache.org> on 2015/04/01 22:04:53 UTC

[jira] [Work logged] (HBASE-13378) RegionScannerImpl synchronized for READ_UNCOMMITTED Isolation Levels

     [ https://issues.apache.org/jira/browse/HBASE-13378?focusedWorklogId=19563&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-19563 ]

John Leach logged work on HBASE-13378:
--------------------------------------

                Author: John Leach
            Created on: 01/Apr/15 21:04
            Start Date: 01/Apr/15 21:03
    Worklog Time Spent: 2h 

Issue Time Tracking
-------------------

            Worklog Id:     (was: 19563)
            Time Spent: 2h
    Remaining Estimate: 0h  (was: 2h)

> 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
>            Assignee: John Leach
>            Priority: Minor
>         Attachments: HBASE-13378.txt
>
>   Original Estimate: 2h
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> 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)