envoyproxy/envoy

Repeated on-demand vhds updates unsubscribe from previously resolved vhosts

Open

#12,158 opened on Jul 17, 2020

View on GitHub
 (4 comments) (0 reactions) (1 assignee)C++ (27,997 stars) (5,373 forks)batch import
area/xdsbughelp wanted

Description

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

Contributor guide

Repeated on-demand vhds updates unsubscribe from previously resolved vhosts · envoyproxy/envoy#12158 | Good First Issue