hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "binlijin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10343) Write the last sequence id into the HLog during the RegionOpen time
Date Tue, 27 May 2014 03:54:02 GMT

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

binlijin commented on HBASE-10343:
----------------------------------

hi liyin, can we listener the region open event in zk, so we can know the region open event
and coordinate the hlog async replication to guarantee the in-order delivery? 

> Write the last sequence id into the HLog during the RegionOpen time
> -------------------------------------------------------------------
>
>                 Key: HBASE-10343
>                 URL: https://issues.apache.org/jira/browse/HBASE-10343
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Liyin Tang
>
> HLog based async replication has a challenging to guarantee the in-order delivery when
the Region is moving from one HLog stream to another HLog stream. 
> One approach is to keep the last_sequence_id in the new HLog stream when opening the
Region. So the replication framework is able to catch upto the last_sequence_id from the previous
HLog stream, before replicating any new transactions through the new HLog stream.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message