-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repeated on-demand vhds updates unsubscribe from previously resolved vhosts #12158
Comments
@dmitri-d shouldn't we have one watch per vhost? |
@htuch: it's per subscription right now (handled by GrpcSubscriptionImpl, so the same as other xDS protocols then). I need to think about the implications of what you are suggesting. Are you thinking just VHDS, or for the rest of xDS too? |
For RDS/EDS, there is already one subscription/watch (singleton) per consumer, e.g. each |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions. |
Please see #12158 for more details about the issue. Risk level: Low Signed-off-by: Dmitri Dolguikh <ddolguik@redhat.com>
Description:
If a vhost named "foo.com" has been previously resolved, an attempt to resolve "bar.com" will result in "foo.com" vhost being unsubscribed from, and all updates for it lost.
This is due to how
GrpcMuxWatch::update
is implemented -- it expects a list of resource names that should be watched. The resources which names are not in the list will be unsubscribed from.edit: not an issue for NewGrpcMuxImpl::addWatch
The text was updated successfully, but these errors were encountered: