Skip to content

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.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants