Skip to content

HDDS-16884. Make backup compaction pruning test independent of automatic compaction - #11476

Merged
smengcl merged 1 commit into
apache:masterfrom
rich7420:HDDS-16884
Oct 13, 2026
Merged

smengcl merged 1 commit into
apache:masterfrom
rich7420:HDDS-16884

Conversation

@rich7420

@rich7420 rich7420 commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

testBackupCompactionFilesPruningBackgroundService can time out because snapshot creation does not guarantee a completed compaction with backup SST inputs to prune. Unrelated compactions can also affect the directory's total file count.

Use the existing CompactDBUtil to force a key-table compaction, capture its new backup SST inputs, and wait for those files to be pruned. Keep the leadership-transfer and snapshot-diff checks and the pruning timeout unchanged.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-16884

How was this patch tested?

On dcf49b11d8:

Copilot AI balanced review requested due to automatic review settings October 11, 2026 06:10

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@rich7420
rich7420 marked this pull request as ready for review October 11, 2026 08:05

@chungen0126 chungen0126 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.

+1 LGTM

@adoroszlai
adoroszlai requested a review from smengcl October 12, 2026 23:32
@adoroszlai

Copy link
Copy Markdown
Contributor

@smengcl would you like to take a look?

@smengcl smengcl 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.

Thankg @rich7420 . lgtm

@smengcl
smengcl merged commit 90b292b into apache:master Oct 13, 2026
44 checks passed
@smengcl

smengcl commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Thanks @rich7420 for the patch. Thanks @chungen0126 @adoroszlai for the reviews.

@rich7420

Copy link
Copy Markdown
Contributor Author

@adoroszlai @smengcl @chungen0126 thanks for the review!

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.

5 participants