Skip to content

[AMORO-4216] Refactor dangling-delete-files-cleaning via ProcessFactory plugin#4214

Open
zhangwl9 wants to merge 2 commits into
apache:masterfrom
zhangwl9:AMORO-DanglingDelete-optimize-dev
Open

[AMORO-4216] Refactor dangling-delete-files-cleaning via ProcessFactory plugin#4214
zhangwl9 wants to merge 2 commits into
apache:masterfrom
zhangwl9:AMORO-DanglingDelete-optimize-dev

Conversation

@zhangwl9
Copy link
Copy Markdown
Contributor

@zhangwl9 zhangwl9 commented May 14, 2026

Why are the changes needed?

Close #4216.

Brief change log

  • Replaced the old DanglingDeleteFilesCleaningExecutor with DanglingDeleteFilesCleaningProcess, a process-based implementation using TableMaintainerFactory.

  • Moved config from AmoroManagementConf/config.yaml to process-factories.yaml/execute-engines.yaml, and removed the DANGLING_DELETE_FILES_CLEANING enum value from CleanupOperation along with related cleanup methods in DefaultTableRuntime.

  • Deleted old scheduler tests and invalid configuration.

  • updated deployment.md with the new configuration.

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)

# Conflicts:
#	amoro-ams/src/main/java/org/apache/amoro/server/AmoroServiceContainer.java
#	amoro-ams/src/main/java/org/apache/amoro/server/process/iceberg/IcebergProcessFactory.java
#	amoro-ams/src/main/java/org/apache/amoro/server/scheduler/inline/InlineTableExecutors.java
@github-actions github-actions Bot added type:docs Improvements or additions to documentation module:ams-server Ams server module type:build module:common labels May 14, 2026
@zhangwl9 zhangwl9 changed the title [AMORO-4212] Refactor dangling-delete-files-cleaning via ProcessFactory plugin [AMORO-4216] Refactor dangling-delete-files-cleaning via ProcessFactory plugin May 14, 2026
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 module:common type:build type:docs Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Subtask]: Refactor dangling-delete-files-cleaning via ProcessFactory plugin

1 participant