hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chunhui shen (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-8573) Store last flushed sequence id for each store of region for Distributed Log Replay
Date Mon, 20 May 2013 04:13:15 GMT

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

chunhui shen edited comment on HBASE-8573 at 5/20/13 4:12 AM:
--------------------------------------------------------------

I have taken a see about the last flushed sequence id of the region in Distributed Log Replay.

Say sorry first, I think it is not the same with HBASE-6059 (where we use the max sequence
id of store file for each store to skip some edits when relaying logs )

In Distributed Log Replay,  we get the sequence id from the logs, not from the store files,
so it should be safe.

Maybe the only potential problem is the duplication of some data 
because the last flushed sequence id used in Distributed Log Replay could be smaller than
the actual last flushed sequence id. 
                
      was (Author: zjushch):
    I have taken a see about the last flushed sequence id of the region in Distributed Log
Replay.

Say sorry first, I think it is not the same with HBASE-6059 (where we use the max sequence
id of store file for each store to skip some edits when relaying logs )

In Distributed Log Replay,  we get the sequence id from the logs, not from the store files,
so it should be safe.

Maybe the only problem is the duplication of some data 
because the last flushed sequence id used in Distributed Log Replay could be smaller than
the actual last flushed sequence id. 
                  
> Store last flushed sequence id for each store of region for Distributed Log Replay
> ----------------------------------------------------------------------------------
>
>                 Key: HBASE-8573
>                 URL: https://issues.apache.org/jira/browse/HBASE-8573
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ted Yu
>
> HBASE-7006 stores last flushed sequence id of the region in zookeeper.
> To prevent deleted data from appearing again, we should store last flushed sequence id
for each store of region in zookeeper.
> See discussion here:
> https://issues.apache.org/jira/browse/HBASE-7006?focusedCommentId=13660428&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13660428

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message