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

Ankit Singhal commented on HBASE-19894:
---------------------------------------

seePastDeleteMarkers will help the user to get the updated view until the max 
timestamp of time range scan(means out of range Delete will not eclipse the 
cell). 

For eg:

Lets assume a same cell is modified with following operation: 
PUT(t1),DELETE(t2),PUT(t3),DELETE(t4)(where t1<t2<t3<t4) 

* in raw scan of time range(t1,t3), DELETE will also be returned like this:-
{code:java}
PUT(t1),DELETE(t2),PUT(t3){code}
* scan of time range(t1,t3) with current implementation, DELETE(t4) eclipse all 
the cells even if t4 is outside of time range, in order to have consistent view 
before and after compaction:-
{code:java}
No rows will returned{code}
* scan of time range(t1,t3) with seePastDeleteMarkers:-
{code:java}
PUT(t3){code}
* scan of time range(t1,t3) with KEEP_DELETED_CELLS set to true:-
{code:java}
PUT(t3){code}
 

 

> Add seePastDeleteMarkers() option in scan
> -----------------------------------------
>
>                 Key: HBASE-19894
>                 URL: https://issues.apache.org/jira/browse/HBASE-19894
>             Project: HBase
>          Issue Type: Sub-task
>          Components: scan
>            Reporter: Ankit Singhal
>            Assignee: Ankit Singhal
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to