Skip to content

[AMORO-4277] imporove expire_snapshots performance#4278

Merged
zhoujinsong merged 4 commits into
apache:masterfrom
Aireed:issue_4277
Jul 24, 2026
Merged

[AMORO-4277] imporove expire_snapshots performance#4278
zhoujinsong merged 4 commits into
apache:masterfrom
Aireed:issue_4277

Conversation

@Aireed

@Aireed Aireed commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Why are the changes needed?

Close #4277 .

Brief change log

  • call docleanEmptyDirectory once

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before making a pull request

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@github-actions github-actions Bot added the module:ams-server Ams server module label Jul 20, 2026

@zhoujinsong zhoujinsong 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 a lot for the work!

I left a minor suggestion.

Comment thread amoro-ams/src/main/java/org/apache/amoro/server/utils/RollingFileCleaner.java Outdated
@github-actions github-actions Bot added type:docs Improvements or additions to documentation module:common labels Jul 23, 2026
@github-actions github-actions Bot removed type:docs Improvements or additions to documentation module:common labels Jul 23, 2026

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

LGTM.

Thanks a lot for the work!

Comment thread amoro-format-iceberg/src/main/java/org/apache/amoro/utils/TableFileUtil.java Outdated
@zhoujinsong
zhoujinsong merged commit 7be0710 into apache:master Jul 24, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module:ams-server Ams server module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improvement]: expire_snapshot may delete some parent directory many times

3 participants