envoyproxy / envoyproxy/java-control-plane

lose watch when SimpleCache respond return false in respondWithSpecificOrder

Aperta
#219 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
312
Fork
149
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

For ADS mode, class io.envoyproxy.controlplane.cache.SimpleCache will respond to client when setSnapshot.

When respond(watch, snapshot, group); return false, respondWithSpecificOrder will lose the watch, since respond is not complete, client will not rewatch

`
respond(watch, snapshot, group);

// Discard the watch. A new watch will be created for future snapshots once envoy ACKs the response.
return true;
`

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.