You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/08/22 08:35:21 UTC

[jira] [Updated] (HBASE-16455) Provide API for obtaining all the WAL files

     [ https://issues.apache.org/jira/browse/HBASE-16455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-16455:
---------------------------
    Summary: Provide API for obtaining all the WAL files  (was: Provide API for obtaining highest file number among all the WAL files)

> Provide API for obtaining 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.branch-1.v4.txt, 16455.v1.txt, 16455.v2.txt, 16455.v3.txt, 16455.v4.txt, 16455.v5.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)