Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hold a read lock while canceling a snapshot watch.
Since canceling a watch only modified the corresponding statusInfo, we don't need to hold a write lock on the snapshot cache. Holding a read lock is sufficient to ensure that the status entry is stable. This updates envoyproxy#503. Signed-off-by: James Peach <[email protected]>
- Loading branch information