You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Lars Hofhansl (Jira)" <ji...@apache.org> on 2019/12/24 20:08:00 UTC
[jira] [Resolved] (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:all-tabpanel ]
Lars Hofhansl resolved HBASE-13751.
-----------------------------------
Resolution: Won't Fix
> 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
> Priority: Major
>
> The current replication code is all over the place.
> 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 additional wrinkle: The iterator needs to be able to provide the position (file and offset) of 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
(v8.3.4#803005)