Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xds: refactor ADS related data to xDS-Manager part 1 #38145

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adisuissa
Copy link
Contributor

Commit Message: xds: refactor ADS related data to xDS-Manager part 1
Additional Description:
As part of the work on #24773 the xDS-related functionality needs to be moved from the cluster-manager to the xDS-manager.
This is the first refactor: moving the xDS-manager initialization to the end of the cluster-manager's c'tor.

Risk Level: low
Testing: Updated tests.
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #38145 was opened by adisuissa.

see: more, trace.

@adisuissa adisuissa marked this pull request as ready for review January 23, 2025 13:41
@adisuissa
Copy link
Contributor Author

/assign @nezdolik

* @param cm - a pointer to a valid cluster manager.
* @return Ok if the initialization was successful, or an error otherwise.
*/
virtual absl::Status initialize(Upstream::ClusterManager* cm) PURE;
Copy link
Member

Choose a reason for hiding this comment

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

should the param be a reference type instead? E.g. this way the api would imply you can only use it with a valid cm instance


// Config::ConfigSourceProvider
absl::Status initialize(Upstream::ClusterManager* cm) override;
void shutdown() override {}
Copy link
Member

Choose a reason for hiding this comment

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

will this be implemented later?

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.

2 participants