Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2339F200B77 for ; Sat, 20 Aug 2016 03:24:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 21B91160AAC; Sat, 20 Aug 2016 01:24:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 90093160AAB for ; Sat, 20 Aug 2016 03:24:21 +0200 (CEST) Received: (qmail 53670 invoked by uid 500); 20 Aug 2016 01:24:20 -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 53650 invoked by uid 99); 20 Aug 2016 01:24:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Aug 2016 01:24:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 77D392C014F for ; Sat, 20 Aug 2016 01:24:20 +0000 (UTC) Date: Sat, 20 Aug 2016 01:24:20 +0000 (UTC) From: "Vladimir Rodionov (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16455) Provide API for obtaining highest file number among all the WAL files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 20 Aug 2016 01:24:22 -0000 [ https://issues.apache.org/jira/browse/HBASE-16455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15429141#comment-15429141 ] Vladimir Rodionov commented on HBASE-16455: ------------------------------------------- lgtm. > Provide API for obtaining highest file number among all the WAL files > --------------------------------------------------------------------- > > Key: HBASE-16455 > URL: https://issues.apache.org/jira/browse/HBASE-16455 > Project: HBase > Issue Type: Improvement > Reporter: Ted Yu > Assignee: Ted Yu > Fix For: 2.0.0, 1.4.0 > > Attachments: 16455.v1.txt, 16455.v2.txt > > > Currently RegionServerServices has the following API: > {code} > WAL getWAL(HRegionInfo regionInfo) throws IOException; > {code} > Caller can only obtain filenum for a specific WAL. > When multi wal is in use, we should add API for obtaining highest file number among all the outstanding WAL files. > User can pass null to getWAL() method above, but the filenum for the returned WAL may not be the highest among all the WAL files. > See log snippet in the first comment. -- This message was sent by Atlassian JIRA (v6.3.4#6332)