Skip to content

HDDS-15839. Implement SCM container ID export manager - #11097

Open
sarvekshayr wants to merge 2 commits into
apache:masterfrom
sarvekshayr:container-export-manger
Open

HDDS-15839. Implement SCM container ID export manager#11097
sarvekshayr wants to merge 2 commits into
apache:masterfrom
sarvekshayr:container-export-manger

Conversation

@sarvekshayr

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Adds the SCM leader-side container ID export worker. Jobs paginate through ContainerManager.getContainerIDs() with lifecycle/health filters, write sharded text files, and pack them into a gzip-compressed TAR archive (or succeed with zero matches and no archive).

ContainerExportManager.java - Async export worker: submit, paginate, shard, TAR append, job tracking.
ExportJob.java - In-memory job state: Id, execution state, and Status (state, total rows, TAR path, error message).
ExportFileManager.java - Extended with shard write, archive creation, and failed-job cleanup helpers.

What is the link to the Apache JIRA

HDDS-15839

How was this patch tested?

Added a new unit test class TestContainerExportManager.

@sarvekshayr

Copy link
Copy Markdown
ContributorAuthor

Supersedes #10813.

Sign up for freeto 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.

1 participant

@sarvekshayr