You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2015/05/22 22:28:18 UTC
[jira] [Commented] (HBASE-13751) Refactoring replication WAL
reading logic as WAL Iterator
[ https://issues.apache.org/jira/browse/HBASE-13751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14556783#comment-14556783 ]
Sean Busbey commented on HBASE-13751:
-------------------------------------
If possible, please keep HBASE-12483 in mind while doing this so that we can avoid double work.
> Refactoring replication WAL reading logic as WAL Iterator
> ---------------------------------------------------------
>
> Key: HBASE-13751
> URL: https://issues.apache.org/jira/browse/HBASE-13751
> Project: HBase
> Issue Type: Brainstorming
> Reporter: Lars Hofhansl
>
> The current replication code is all over.
> A simple refactoring that we could consider is to factor out the part that reads from the WALs. Could be a simple iterator interface with one addition wrinkle: The iterator needs to be able to provide the position (file and offset) if the last read edit.
> Once we have this, we use this as a building block to many other changes in the replication code.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)