grpc: add explicit nonce to DiscoveryResponse. (#172)
This is a fix for a potential race that exists in the gRPC implementation today. Namely: 1. Envoy sends a DiscoveryRequest at X with resources {A, B} 2. Management server responds with DiscoveryResponse at X+1. 3. Envoy decides (for whatever reason) to change resources before beceiving the X+1 response. It sends a DiscoveryRequest at X with {A, B, C}. 4. Management server treats the X DiscoveryRequest update as a NACK for the X+1 DiscoveryResponse.pull/175/head
parent
64ef6e3cc4
commit
9be6aff6da
1 changed files with 14 additions and 0 deletions
Loading…
Reference in new issue