janvanbesien opened a new pull request, #7761:
URL: https://github.com/apache/hbase/pull/7761

   BackupLogCleaner.serverToPreservationBoundaryTs() computes the WAL deletion 
boundary by iterating over tableSetTimestampMap from persisted BackupInfo 
sessions. This map can contain entries for tables that were once part of the 
backup set but have since had all their backups deleted. Their stale, old 
timestamps drag the minimum WAL boundary back, preventing old WALs from being 
cleaned up.
   
   Fix: when computing boundaries, load the incrbackupset per backup root from 
BackupSystemTable and skip tables not in the active set. The incrbackupset is 
populated on every full backup and pruned when backups are deleted, so it 
accurately reflects which tables still need WAL retention.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to