Skip to content

xds: ensure we shutdown XdsClientImpl when XDS Server is shut down - #6890

Merged
sanjaypujare merged 9 commits into
grpc:masterfrom
sanjaypujare:xds-server-shutdown
Apr 3, 2020
Merged

xds: ensure we shutdown XdsClientImpl when XDS Server is shut down#6890
sanjaypujare merged 9 commits into
grpc:masterfrom
sanjaypujare:xds-server-shutdown

Conversation

@sanjaypujare

Copy link
Copy Markdown
Contributor

No description provided.

@sanjaypujare
sanjaypujare requested a review from creamsoup April 1, 2020 21:29
@sanjaypujare
sanjaypujare force-pushed the xds-server-shutdown branch from 76e3ca7 to a4ed826 Compare April 1, 2020 21:54
Comment thread xds/src/main/java/io/grpc/xds/internal/sds/XdsServer.java Outdated
Comment thread xds/src/main/java/io/grpc/xds/internal/sds/XdsServer.java Outdated
Comment thread xds/src/main/java/io/grpc/xds/internal/sds/XdsServer.java Outdated
Comment thread xds/src/test/java/io/grpc/xds/XdsServerBuilderTest.java
Comment thread xds/src/main/java/io/grpc/xds/internal/sds/XdsServer.java Outdated

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

sending what i have for now. seems like from last PR (or earlier) you have some formatting issue. please revisit and fix them. i tried to suggest some of those but probably not all (my suggestion might be misaligned as well because it is hard to tell from github ui).

Comment thread xds/src/main/java/io/grpc/xds/internal/sds/SdsProtocolNegotiators.java Outdated
Comment thread xds/src/main/java/io/grpc/xds/internal/sds/XdsServerBuilder.java Outdated
Comment thread xds/src/main/java/io/grpc/xds/internal/sds/SdsProtocolNegotiators.java Outdated
Comment thread xds/src/main/java/io/grpc/xds/internal/sds/XdsServerBuilder.java Outdated
Comment thread xds/src/main/java/io/grpc/xds/internal/sds/XdsServer.java Outdated
Comment thread xds/src/main/java/io/grpc/xds/internal/sds/SdsProtocolNegotiators.java Outdated
Comment thread xds/src/main/java/io/grpc/xds/internal/sds/XdsServer.java Outdated
Comment thread xds/src/main/java/io/grpc/xds/internal/sds/XdsServer.java Outdated
Comment thread xds/src/test/java/io/grpc/xds/internal/sds/SdsProtocolNegotiatorsTest.java Outdated
Comment thread xds/src/main/java/io/grpc/xds/internal/sds/XdsServerBuilder.java Outdated
@sanjaypujare sanjaypujare changed the title xds: implement XdsServer to ensure we shutdown XdsClientImpl when XdsServer is shutdown xds: ensure we shutdown XdsClientImpl when XDS Server is shut down Apr 3, 2020

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

few nits, otherwise LGTM

Comment thread xds/src/test/java/io/grpc/xds/XdsServerBuilderTest.java
@creamsoup

creamsoup commented Apr 3, 2020 via email

Copy link
Copy Markdown
Contributor

@sanjaypujare

Copy link
Copy Markdown
Contributor Author

Oh my bad if it is just moved should be 2019. Git says it is added hmm

It was moved and modified. git probably can't detect that

@sanjaypujare
sanjaypujare merged commit e68b1d2 into grpc:master Apr 3, 2020
@sanjaypujare
sanjaypujare deleted the xds-server-shutdown branch April 3, 2020 17:08
dfawley pushed a commit to dfawley/grpc-java that referenced this pull request Jan 15, 2021
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 15, 2021
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