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

Dieter De Paepe commented on HBASE-29628:
-----------------------------------------

Related to HBASE-29846, hat issue also talks about stale trslm entries, but 
centers on those from removed tables.

> Modern backups can cause oldWALs buildup
> ----------------------------------------
>
>                 Key: HBASE-29628
>                 URL: https://issues.apache.org/jira/browse/HBASE-29628
>             Project: HBase
>          Issue Type: Bug
>          Components: backup&restore
>            Reporter: Hernan Romer
>            Assignee: Hernan Romer
>            Priority: Major
>
> Modern backups store host:lastWalRollTime in the system table. The 
> BackupLogCleaner uses this information to decide which oldWALs are safe to 
> cleanup, and which ones still need to be backed up. 
>  
> Each time we take a full, or incremental backup, we roll the WAL files for 
> all hosts, and update the system table with the new WAL roll times. However, 
> we don't make any effort to clean up hosts that no longer exist on the 
> cluster. This means that oldWALs for hosts that have been removed from the 
> cluster will never be cleaned up. This can cause a non-trivial amount of data 
> to pile up. 
>  
> We should look to clean up entries in the system table that pertain to hosts 
> that no longer exist after we've taken a backup. 
>  
> There is more discussion in 
> [this|https://github.com/apache/hbase/pull/5408#discussion_r2360362258] 
> comment chain



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

Reply via email to