You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Tak-Lon (Stephen) Wu (Jira)" <ji...@apache.org> on 2025/06/23 17:06:00 UTC
[jira] [Commented] (HBASE-29350) Ensure Cleanup of Continuous Backup WALs After Last Backup is Force Deleted
[ https://issues.apache.org/jira/browse/HBASE-29350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17985676#comment-17985676 ]
Tak-Lon (Stephen) Wu commented on HBASE-29350:
----------------------------------------------
merged https://github.com/apache/hbase/commit/f0ec33b38e389d7f41b8ce516e3841733d756a4e
> Ensure Cleanup of Continuous Backup WALs After Last Backup is Force Deleted
> ---------------------------------------------------------------------------
>
> Key: HBASE-29350
> URL: https://issues.apache.org/jira/browse/HBASE-29350
> Project: HBase
> Issue Type: Task
> Components: backup&restore
> Reporter: Vinayak Hegde
> Assignee: Vinayak Hegde
> Priority: Major
> Labels: pull-request-available
>
> When the last backup is deleted using the {{-fd}} (force delete) option, there are no remaining backups to recover from. In this state:
> * Continuous backup metadata in the system table becomes obsolete.
> * WAL files under the backup WAL directory are no longer needed.
> * The replication peer used for continuous WAL tracking serves no purpose.
> Since the entire backup chain is gone, we can safely clean up all related metadata and WAL artifacts to free up storage and avoid stale state in the system.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)