envoyproxy / envoyproxy/java-control-plane
lose watch when SimpleCache respond return false in respondWithSpecificOrder
Offen
- Vorherrschende Sprache
- Java
- Sterne
- 312
- Forks
- 149
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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;
`
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.