envoyproxy/envoy

Repeated on-demand vhds updates unsubscribe from previously resolved vhosts

Open

#12.158 aperta il 17 lug 2020

Vedi su GitHub
 (4 commenti) (0 reazioni) (1 assegnatario)C++ (5373 fork)batch import
area/xdsbughelp wanted

Metriche repository

Star
 (27.997 star)
Metriche merge PR
 (Merge medio 8g) (378 PR mergiate in 30 g)

Descrizione

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

Guida contributor