Skip to content

Conversation

@brycezhongqing
Copy link
Collaborator

@brycezhongqing brycezhongqing commented Oct 15, 2025

While the pre-check checks for various issues for indis connection. The start() method indeed can be called multiple times for valid reasons, since app owners are allowed to explicitly call d2Client.start and wait for the callback to ensure a d2 client is started before using it. We should change the throw to an info log and just return (no-op) in that case.

## [Unreleased]

## [29.80.1] - 2025-10-15
- Update pre-check to prevent duplicate xDS client start
Copy link
Contributor

Choose a reason for hiding this comment

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

"prevent" should be "log", right? since it's ok to call start again.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

My thought is that returning early on duplicate calls can act as a preventive measure., then it could be a prevent scenario. But, yes, log is more accurate.

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.

3 participants