hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13751) Refactoring replication WAL reading logic as WAL Iterator
Date Sat, 23 May 2015 00:31:17 GMT

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

Lars Hofhansl commented on HBASE-13751:

Thanks [~busbey]. Looks like these are similar, and complimentary. This would abstract WAL
reading into an iterator. And HBASE-12483 would abstract FS use away from inside the iterator
(probably too simplified).

> 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

This message was sent by Atlassian JIRA

View raw message