Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 522BE18287 for ; Fri, 22 May 2015 19:47:23 +0000 (UTC) Received: (qmail 90669 invoked by uid 500); 22 May 2015 19:47:17 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 90589 invoked by uid 500); 22 May 2015 19:47:17 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 90263 invoked by uid 99); 22 May 2015 19:47:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 May 2015 19:47:17 +0000 Date: Fri, 22 May 2015 19:47:17 +0000 (UTC) From: "Lars Hofhansl (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-13751) Refactoring replication WAL reading logic as WAL Iterator MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Lars Hofhansl created HBASE-13751: ------------------------------------- Summary: 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)