Skip to content

xds: Remove EDS maybePublishConfig() avoidance in XdsDepManager #12121

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

Merged
merged 1 commit into from
Jun 3, 2025

Conversation

ejona86
Copy link
Member

@ejona86 ejona86 commented Jun 2, 2025

The optimization makes the code more complicated. Yes, we know that maybePublishConfig() will do no work because of an outstanding watch, but we don't do this for other new watchers created and doing so would just make the code more bug-prone. This removes a difference in how different watcher types are handled.

The optimization makes the code more complicated. Yes, we know that
maybePublishConfig() will do no work because of an outstanding watch,
but we don't do this for other new watchers created and doing so would
just make the code more bug-prone. This removes a difference in how
different watcher types are handled.
@ejona86 ejona86 requested a review from kannanjgithub June 2, 2025 13:51
@kannanjgithub kannanjgithub merged commit 48d08e6 into grpc:master Jun 3, 2025
16 checks passed
@ejona86 ejona86 deleted the xdsdepmap-edsmaybepublishconfig branch June 3, 2025 13:59
AgraVator pushed a commit to AgraVator/grpc-java that referenced this pull request Jun 23, 2025
…#12121)

The optimization makes the code more complicated. Yes, we know that
maybePublishConfig() will do no work because of an outstanding watch,
but we don't do this for other new watchers created and doing so would
just make the code more bug-prone. This removes a difference in how
different watcher types are handled.
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