You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "mazhengxuan (Jira)" <ji...@apache.org> on 2026/07/22 08:07:00 UTC

[jira] [Comment Edited] (HBASE-29984) Backup log collection can fail

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

mazhengxuan edited comment on HBASE-29984 at 7/22/26 8:06 AM:
--------------------------------------------------------------

Hi, I’d like to work on this issue. I plan to make backup WAL discovery recursively list files under {{{}oldWALs{}}}, supporting both the flat and per-RegionServer layouts, including mixed layouts after configuration changes. I’ll also add a regression test with {{{}hbase.separate.oldlogdir.by.regionserver=true{}}}. Could I assign this issue to me?


was (Author: JIRAUSER298959):
Hi, I’d like to work on this issue. I plan to make backup WAL discovery recursively list files under {{{}oldWALs{}}}, supporting both the flat and per-RegionServer layouts, including mixed layouts after configuration changes. I’ll also add a regression test with {{{}hbase.separate.oldlogdir.by.regionserver=true{}}}. Could I assign this issue to me?

> Backup log collection can fail
> ------------------------------
>
>                 Key: HBASE-29984
>                 URL: https://issues.apache.org/jira/browse/HBASE-29984
>             Project: HBase
>          Issue Type: Bug
>          Components: backup&amp;restore
>    Affects Versions: 4.0.0-alpha-1, 3.0.0-beta-2, 2.6.4
>            Reporter: Dieter De Paepe
>            Priority: Major
>
> Found during [review|https://github.com/apache/hbase/pull/7582/changes/e1c25329acf26792bbf4faed98a44fab647e39d2#r2676601419] of HBASE-29776.
> The backup logic scans the logs and oldlogs:
>  * IncrementalBackupManager#getLogFilesForNewBackup
>  * (Introduced in HBASE-29776) FullTableBackupClient#execute
> It assumes old logs are files under the "oldWals" folder.
> However, there's a configuration key hbase.separate.oldlogdir.by.regionserver that can change this behavior. When set to true, the old logs are stored in directories under "oldWals". The backup code will error on this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)