Skip to content

HBASE-29798 Remove redundant region info from incremental backups - #8630

Open
Sigma-Ma wants to merge 1 commit into
apache:masterfrom
Sigma-Ma:HBASE-29798-remove-redundant-region-info-from-incremental-backups
Open

Sigma-Ma wants to merge 1 commit into
apache:masterfrom
Sigma-Ma:HBASE-29798-remove-redundant-region-info-from-incremental-backups

Conversation

@Sigma-Ma

@Sigma-Ma Sigma-Ma commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

JIRA: https://issues.apache.org/jira/browse/HBASE-29798

What changes were proposed in this pull request?

Stop writing .regioninfo files during incremental backups and copying them during backup merges. Keep table descriptors for restore.

Why are the changes needed?

Restore does not use these files. Scanning regions and writing a file for each one adds unnecessary metadata I/O, which can make backups slow for tables with many regions.

How was this patch tested?

mvn -pl hbase-backup -am -DskipTests -Dcheckstyle.skip -Dspotbugs.skip install
mvn -pl hbase-backup -Dtest=TestIncrementalBackupRestore,TestBackupMerge -Dsurefire.rerunFailingTestsCount=0 test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant