Skip to content

Commit a44daa2

Browse files
Update pkg/cache/v3/resource.go
Co-authored-by: Antoine Tollenaere <[email protected]> Signed-off-by: Valerian Roche <[email protected]>
1 parent 476a269 commit a44daa2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pkg/cache/v3/resource.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,9 @@ func GetResourceName(res types.Resource) string {
102102
func ResourceRequiresFullStateInSotw(typeURL resource.Type) bool {
103103
// From https://www.envoyproxy.io/docs/envoy/v1.28.0/api-docs/xds_protocol#grouping-resources-into-responses,
104104
// when using sotw the control-plane MUST return all requested resources (or simply all if wildcard)
105-
// for some types. This is relied on by xds-grpc which is explicitly requesting clusters but expect
106-
// to receive all existing resources
105+
// for some types. This is relied on by xds-grpc which is explicitly requesting clusters and listeners
106+
// but expects to receive all existing resources for those types. Missing clusters or listeners are
107+
// considered deleted.
107108
switch typeURL {
108109
case resource.ClusterType:
109110
return true

0 commit comments

Comments
 (0)