envoyproxy / envoyproxy/java-control-plane

lose watch when SimpleCache respond return false in respondWithSpecificOrder

Open
#219 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
312
Forks
149
PR merge metrics
No merged PRs in 30d

Description

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;
`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.