xds: Remember nonces for unknown types · grpc/grpc-java@6c12c2b · GitHub
Skip to content

Commit 6c12c2b

Browse files
committed
xds: Remember nonces for unknown types
If the control plane sends a resource type the client doesn't understand at-the-moment, the control plane will still expect the client to include the nonce if the client subscribes to the type in the future. This most easily happens when unsubscribing the last resource of a type. Which meant 1cf1927 was insufficient.
1 parent 4a0f707 commit 6c12c2b

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

xds/src/main/java/io/grpc/xds/client/ControlPlaneClient.java

Lines changed: 4 additions & 4 deletions

xds/src/test/java/io/grpc/xds/GrpcXdsClientImplTestBase.java

Lines changed: 4 additions & 1 deletion

0 commit comments

Comments
 (0)