Skip to content

Speed up backups HFile cleaner - #240

Merged
krconv merged 1 commit into
hubspot-2.6from
kodey-backups-hfile-cleaner
Mar 6, 2026
Merged

krconv merged 1 commit into
hubspot-2.6from
kodey-backups-hfile-cleaner

Conversation

@krconv

@krconv krconv commented Mar 6, 2026

Copy link
Copy Markdown

Goal Fix issue on Yoda causing HFiles to build up

This updates the HFile cleaner for backups to do significantly less CPU/IO by caching the list of HFiles needing to be backed up, instead of re-scanning the backups table for every region (40k times). Unit tests pass

@krconv
krconv requested a review from hgromer March 6, 2026 20:01

@hgromer hgromer left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

sick

@krconv
krconv merged commit 29f83bb into hubspot-2.6 Mar 6, 2026
1 check passed
@krconv
krconv deleted the kodey-backups-hfile-cleaner branch March 6, 2026 21:38
charlesconnell pushed a commit that referenced this pull request Jul 14, 2026
charlesconnell pushed a commit that referenced this pull request Jul 15, 2026
charlesconnell pushed a commit that referenced this pull request Aug 4, 2026
charlesconnell pushed a commit that referenced this pull request Aug 4, 2026
charlesconnell pushed a commit that referenced this pull request Aug 8, 2026
charlesconnell pushed a commit that referenced this pull request Aug 9, 2026
charlesconnell pushed a commit that referenced this pull request Aug 9, 2026
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.

2 participants