hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heng Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16067) Add READ_COMMITTED IsolationLevel for scan and the current is SNAPSHOT.
Date Tue, 21 Jun 2016 03:08:58 GMT

    [ https://issues.apache.org/jira/browse/HBASE-16067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15340974#comment-15340974
] 

Heng Chen commented on HBASE-16067:
-----------------------------------

The idea sounds reasonable.

{code}
+          storeHeap.updateMvccReadPoint(readPt);
+          if (joinedHeap != null) {
+            joinedHeap.updateMvccReadPoint(readPt);
+          }
{code}
Will readPt be updated between above two update operations?  

And should we move "if (isolationLevel == IsolationLevel.READ_COMMITTED)" check before we
set needUpdateReadPt to be true?



> Add READ_COMMITTED IsolationLevel for scan and the current is SNAPSHOT.
> -----------------------------------------------------------------------
>
>                 Key: HBASE-16067
>                 URL: https://issues.apache.org/jira/browse/HBASE-16067
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: binlijin
>         Attachments: HBASE-16067.patch
>
>
> When scan a region, openScan get a mvcc readpoint and do not advance the readpoint within
it lifetime, so all committed write after the readpoint do not visible for the scan.



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

Mime
View raw message