Skip to content

HDDS-15838. Add container export shared types, config, and proto - #10737

Closed
sarvekshayr wants to merge 2 commits into
apache:masterfrom
sarvekshayr:export-tool-3
Closed

HDDS-15838. Add container export shared types, config, and proto#10737
sarvekshayr wants to merge 2 commits into
apache:masterfrom
sarvekshayr:export-tool-3

Conversation

@sarvekshayr

@sarvekshayrsarvekshayr commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Adds shared types, SCM configuration, and SCM client protocol messages for async export. No server implementation, client wiring, or CLI in this PR.

Part 3 of 5 in splitting HDDS-15496#10673 container ID export.

What is the link to the Apache JIRA

HDDS-15838

How was this patch tested?

CI: https://github.com/sarvekshayr/ozone/actions/runs/29226836517

Made with Cursor to help split the container ID export.

@sarvekshayrsarvekshayr added AI-gen tools Tools that helps with debugging labels Jul 13, 2026
@jojochuang
jojochuang requested a review from errose28July 13, 2026 16:21
@sarvekshayr

Copy link
Copy Markdown
ContributorAuthor

@szetszwo@devmadhuu@ArafatKhan2198 Please review the PR.

@devmadhuudevmadhuu 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 @sarvekshayr for the patch. Largely LGTM +1. Just a nit.


private final String jobId;
private final State state;
private final String lifecycleState;

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.

Better use same enum as LifeCycleState only here.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Updated to LifeCycleState and ContainerHealthState.

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

@sarvekshayr , thanks for working on this!

Without the usage, there are no way to review if the conf/proto/contants are good.

  • Proto and other constants should be added with the usage.
  • Add Conf at the last JIRA. Hard code the values and add TODO for now.

Usually, we change the server side first since we can test it by calling the methods directly (instead of using RPC). Once the server is working, we may add Client RPC/proto, and then CLI.

@sarvekshayr

Copy link
Copy Markdown
ContributorAuthor

Added server-side export implementation (export manager + tests + shared types with usage) in #10813 as per review feedback.
Proto/config will follow with RPC usage in a later PR.

Closing this now.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI-gentoolsTools that helps with debugging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@sarvekshayr@szetszwo@devmadhuu