Skip to content

Conversation

@YifeiZhuang
Copy link
Member

@YifeiZhuang YifeiZhuang commented Jan 11, 2023

fix b/265017892

When any of the subscribers for a resource has the last watcher cancelled, the bug will accidentally remove that resource type from the map, which make xds stream not accepting response update for that resource type entirely (pass through, no ACK/NACK will send).
This was introduced in #9607 where the resource url map is dynamically controlled by the watchers.

@YifeiZhuang YifeiZhuang requested a review from ejona86 January 11, 2023 22:35
@ejona86
Copy link
Member

ejona86 commented Jan 11, 2023

When this bug is triggered, the xds client fails to watch for resources of particular types. So any of those resources will get out-of-date.

@ejona86
Copy link
Member

ejona86 commented Jan 11, 2023

The bug was introduced in #9607 (released in 1.51.0)

@YifeiZhuang YifeiZhuang merged commit 82ca98f into grpc:master Jan 11, 2023
@YifeiZhuang YifeiZhuang deleted the fix-xds branch January 11, 2023 23:34
@YifeiZhuang YifeiZhuang removed the TODO:backport PR needs to be backported. Removed after backport complete label Jan 12, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 12, 2023
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