Skip to content

HBASE-30549: Incremental backups needlessly create directories that aren't used - #8902

Open
hgromer wants to merge 1 commit into
apache:masterfrom
hgromer:HBASE-30549
Open

hgromer wants to merge 1 commit into
apache:masterfrom
hgromer:HBASE-30549

Conversation

@hgromer

@hgromer hgromer commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@kgeisz kgeisz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the change! Can you please add the Jira ticket ID to the commit message? LGTM otherwise

@guluo2016 guluo2016 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two minor nits, otherwise looks good to me. Thanks

LOG.trace("found bulk hfile {} in {} for {}", bulkLoad.getHfilePath(), p.getParent(),
srcTableQualifier);
LOG.trace("copying {} to {}", p, tgt);
LOG.trace("copying {}", p);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: This line can be removed since the bulk hfile hasn't started copying yet.

bulkloadInfo.addActiveFile(p.toString());
} else if (fs.exists(archive)) {
LOG.debug("copying archive {} to {}", archive, tgt);
LOG.debug("copying archive {}", archive);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: LOG.debug("Adding archived bulk hfile {}", archive) seems to be more accurate.

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.

3 participants